Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisOptions ¶
type RedisOptions struct { Addr string `json:"addr"` Network string `json:"network"` Password string `json:"password"` DialTimeout time.Duration `json:"dial_timeout"` ReadTimeout time.Duration `json:"read_timeout"` WriteTimeout time.Duration `json:"write_timeout"` PoolSize int `json:"pool_size"` PoolTimeout time.Duration `json:"pool_timeout"` DB int `json:"db"` MaxRetries int `json:"max_retries"` MinRetryBackoff time.Duration `json:"min_retry_backoff"` MaxRetryBackoff time.Duration `json:"max_retry_backoff"` MinIdleConns int `json:"min_idle_conns"` MaxConnAge time.Duration `json:"max_conn_age"` IdleTimeout time.Duration `json:"idle_timeout"` IdleCheckFrequency time.Duration `json:"idle_check_frequency"` }
Click to show internal directories.
Click to hide internal directories.