Versions in this module Expand all Collapse all v0 v0.2.0 Jul 12, 2024 Changes in this version + func GenerateToken() string + func Receive(ctx context.Context, payload interface{}, opts ...PairOption) error + func Send(ctx context.Context, payload interface{}, opts ...PairOption) error + type PairConfig struct + func (c *PairConfig) Apply(opts ...PairOption) error + type PairOption func(c *PairConfig) error + func WithLogLevel(t string) PairOption + func WithReader(t TokenReader) PairOption + func WithToken(t string) PairOption + type TokenReader func(string) string