Documentation ¶
Index ¶
- Variables
- func GetAll() map[string]interface{}
- func GetBool(key string) bool
- func GetFloat64(key string) float64
- func GetInt(key string) int
- func GetString(key string) string
- func GetStringMap(key string) map[string]interface{}
- func GetStringSlice(key string) []string
- func InitConfig(configPath string, configName string, configType string) error
- func Set(key string, value interface{})
- func SetDefault(key string, value interface{})
- func SetDefaults(defaults []models.DefaultKV)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfInitialized bool = false
)
Functions ¶
func InitConfig ¶
InitConfig 初始化配置管理器
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.