Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct { Host []string `json:"host" yaml:"host"` Password string `json:"password" yaml:"password"` PoolSize int `json:"pool_size" yaml:"pool_size"` PoolTimeout int64 `json:"pool_timeout" yaml:"pool_timeout"` // contains filtered or unexported fields }
DB redis实例
func (*DB) ClusterClient ¶
func (this *DB) ClusterClient() *redis.ClusterClient
ClusterClient 获取redis集群客户端
Click to show internal directories.
Click to hide internal directories.