Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAddr = errors.New("redisx: no addr")
View Source
var ErrNoDefaultPool = errors.New("redisx: no default pool")
Functions ¶
This section is empty.
Types ¶
type ClusterConf ¶ added in v0.2.0
type ClusterConf struct {
ProxyConf
}
type Conf ¶
type Conf struct {
Mode string // 模式,支持 single/sentinel/cluster
SingleConf *ProxyConf // 地址配置
SentinelConf *SentinelConf // 哨兵配置
ClusterConf *ClusterConf // 集群配置
}
Click to show internal directories.
Click to hide internal directories.