Versions in this module Expand all Collapse all v0 v0.9.1 Dec 2, 2020 Changes in this version + type Option func(*options) + func WithConnCheckInterval(interval time.Duration) Option + func WithDialConnectTimeout(timeout time.Duration) Option + func WithIdleTimeout(duration time.Duration) Option + func WithMaxActive(num int) Option + func WithMaxIdle(num int) Option + type Redis interface + Close func() error + Get func() redis.Conn + func NewRedis(address, password string, opts ...Option) Redis