Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type YmlConfig ¶
type YmlConfig interface {
ConfigFileChangeListen()
Clone(fileName string) YmlConfig
Get(keyName string) interface{}
GetString(keyName string) string
GetBool(keyName string) bool
GetInt(keyName string) int
GetInt32(keyName string) int32
GetInt64(keyName string) int64
GetFloat64(keyName string) float64
GetDuration(keyName string) time.Duration
GetStringSlice(keyName string) []string
Viper() *viper.Viper
BasePath() string
}
Click to show internal directories.
Click to hide internal directories.