Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Sentinel bool `mapstructure:"sentinel"` MasterName string `mapstructure:"master-name"` Password string `mapstructure:"password"` PoolSize int `mapstructure:"pool-size"` MinIdleConns int `mapstructure:"min-idle-conns"` DialTimeout time.Duration `mapstructure:"dial-timeout"` ReadTimeout time.Duration `mapstructure:"read-timeout"` WriteTimeout time.Duration `mapstructure:"write-timeout"` PoolTimeout time.Duration `mapstructure:"pool-timeout"` IdleTimeout time.Duration `mapstructure:"idle-timeout"` MaxRetries int `mapstructure:"max-retries"` MinRetryBackoff time.Duration `mapstructure:"min-retry-backoff"` MaxRetryBackoff time.Duration `mapstructure:"max-retry-backoff"` }
Options represents a struct for creating Redis connection configurations.
Click to show internal directories.
Click to hide internal directories.