Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClient ¶
type ClusterClient = redis.ClusterClient
type ClusterConfig ¶
type ClusterConfig struct { Addrs []string `default:"-"` DialTimeout time.Duration `default:"3s"` ReadTimeout time.Duration `default:"1s"` WriteTimeout time.Duration `default:"1s"` Password string `default:""` DB int `default:"0"` }
func (ClusterConfig) Build ¶
func (c ClusterConfig) Build() *ClusterClient
Click to show internal directories.
Click to hide internal directories.