Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *redis.Client
Functions ¶
Types ¶
type Config ¶
type Config struct { DSN string `json:"dsn" toml:"dsn" mapstructure:"dsn"` ConnectTimeout time.Duration `json:"connect_timeout" toml:"-" mapstructure:"-"` StartupRetryTimes int `json:"startup_retry_times" toml:"-" mapstructure:"-"` StartupRetryPeriod time.Duration `json:"startup_retry_period" toml:"-" mapstructure:"-"` }
func (*Config) VerifyConfig ¶
Click to show internal directories.
Click to hide internal directories.