Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxIdle = 1024 IdleTimeout = 3 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Addr is the name of redis address Addr string // Timeout is the name of the timeout for the cluster Timeout time.Duration // Password is the password for the cluster Password string // DB is the name of the database DB int }
Config is the configuration for the redis clusters
Click to show internal directories.
Click to hide internal directories.