package cachex type Config struct { Addrs []string `mapstructure:"addrs"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` SentinelUsername string `mapstructure:"sentinel-username"` SentinelPassword string `mapstructure:"sentinel-password"` DB int `mapstructure:"db"` MasterName string `mapstructure:"master-name"` PoolFIFO bool `mapstructure:"pool-fifo"` PoolSize int `mapstructure:"pool-size"` MinIdleConns int `mapstructure:"min-idle-conns"` MaxIdleConns int `mapstructure:"max-idle-conns"` DialTimeout int64 `mapstructure:"dial-timeout"` ReadTimeout int64 `mapstructure:"read-timeout"` WriteTimeout int64 `mapstructure:"write-timeout"` PoolTimeout int64 `mapstructure:"pool-timeout"` MaxRetries int `mapstructure:"max-retries"` MinRetryBackoff int64 `mapstructure:"min-retry-backoff"` MaxRetryBackoff int64 `mapstructure:"max-retry-backoff"` }