Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *Options)
Option is a function which configures options.
func Address ¶
Address sets the Redis address option. Needs to be a full URL with scheme (redis://, rediss://, unix://). (eg. redis://user:password@localhost:6789/3?dial_timeout=3). Alternatively, the address can simply be the `host:port` format where User, Password, TLSConfig are defined with their respective options.
func WithRedisOptions ¶ added in v1.2.0
func WithRedisOptions(options *redis.UniversalOptions) Option
WithRedisOptions sets advanced options for redis.
Click to show internal directories.
Click to hide internal directories.