Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Common ¶
type Redis ¶
type Redis struct {
Sentinel RedisSentinel `yaml:"sentinel"`
// Deprecated: Address is deprecated: use Addresses
// If Addresses set, Address will be ignored
Address string `yaml:"address"`
User string `yaml:"user"`
Password string `yaml:"password"`
Addresses []string `yaml:"addresses"`
MetaDB int `yaml:"metaDB"`
QueueDB int `yaml:"queueDB"`
LockDB int `yaml:"lockDB"`
ConfigDB int `yaml:"configDB"`
TLS TLS `yaml:"tls"`
}
func (*Redis) GetAddresses ¶ added in v0.5.10
type RedisSentinel ¶ added in v0.5.9
Click to show internal directories.
Click to hide internal directories.