Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig()
func LoadConfigWithPath ¶
func LoadConfigWithPath(configPath string)
Types ¶
type Configs ¶
type Configs struct { MySQL *MySQL `json:"mysql"` Address *Address Service *ServiceName RedisConfig *RedisConfig `yaml:"redis"` OSSConfig *OSSConfig `yaml:"oss"` ResConfig *ResourceConfig `yaml:"resource"` }
var Config Configs
type RedisConfig ¶
type ResourceConfig ¶
type ResourceConfig struct {
TmpDir string `yaml:"tmp_dir"`
}
Click to show internal directories.
Click to hide internal directories.