Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultPoolName = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type RedisConf ¶
type RedisConf struct {
Addr string
Password string
PoolSize int
MigrateTo string // If this is not empty, all the PUBLISH will go to that pool
MasterName string
// contains filtered or unexported fields
}
func (*RedisConf) IsSentinel ¶
IsSentinel return whether the pool was running in sentinel mode
Click to show internal directories.
Click to hide internal directories.