Documentation
¶
Index ¶
- func Address(address string) redisOpt
- func ApplyProperties(properties *Properties) redisOpt
- func ConnectionTimeout(timeout time.Duration) redisOpt
- func DB(db int) redisOpt
- func NewClient(opts ...redisOpt) (*redis.Client, func(), error)
- func Password(password string) redisOpt
- func TLS(tls bool) redisOpt
- func Username(username string) redisOpt
- type Properties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyProperties ¶
func ApplyProperties(properties *Properties) redisOpt
func ConnectionTimeout ¶
Types ¶
type Properties ¶
Click to show internal directories.
Click to hide internal directories.