Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefault ¶
Types ¶
type Client ¶
type Client interface { redis.UniversalClient }
type Options ¶
type Options interface {
Apply(config *Config)
}
func ParseConfig ¶
func WithAddress ¶
func WithDatabase ¶
func WithPassword ¶
type PubSubConfig ¶
func (*PubSubConfig) Apply ¶
func (p *PubSubConfig) Apply(config *PubSubConfig)
type PubSubOptions ¶
type PubSubOptions interface {
Apply(config *PubSubConfig)
}
func WithChannel ¶
func WithChannel(channel string) PubSubOptions
func WithCheckALiveInterval ¶
func WithCheckALiveInterval(channel time.Duration) PubSubOptions
Click to show internal directories.
Click to hide internal directories.