Documentation ¶ Index ¶ func New(confStr string) *redis.Client type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(confStr string) *redis.Client Types ¶ type Options ¶ type Options struct { Addr string `json:"addr"` Username string `json:"username"` Password string `json:"password"` DB int `json:"db"` MaxRetries int `json:"max_retries"` MinIdleConns int `json:"min_idle_conns"` } Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.