Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisConfig ¶
type RedisConfig struct { RedisURL string `required:"true" envconfig:"cos_proxy_env_redis_url"` RedisKey string `required:"true" envconfig:"cos_proxy_env_redis_key"` }
func GetConfig ¶
func GetConfig() (RedisConfig, error)
Return a copy, so that the singleton config can't be touched
Click to show internal directories.
Click to hide internal directories.