Documentation ¶
Index ¶
- Constants
- func GetBool(key string) (bool, error)
- func GetBoolSlice(key string) ([]bool, error)
- func GetBoolSliceWithDefault(key string, def []bool) []bool
- func GetBoolWithDefault(key string, def bool) bool
- func GetFloat(key string) (float64, error)
- func GetFloatSlice(key string) ([]float64, error)
- func GetFloatSliceWithDefault(key string, def []float64) []float64
- func GetFloatWithDefault(key string, def float64) float64
- func GetInt(key string) (int64, error)
- func GetIntSlice(key string) ([]int64, error)
- func GetIntSliceWithDefault(key string, def []int64) []int64
- func GetIntWithDefault(key string, def int64) int64
- func GetObject(key string, objPtr interface{}) error
- func GetSlice(key string) ([]interface{}, error)
- func GetString(key string) (string, error)
- func GetStringSlice(key string) ([]string, error)
- func GetStringSliceWithDefault(key string, def []string) []string
- func GetStringWithDefault(key string, def string) string
- func GetValue(key string) (interface{}, error)
- func GetValueWithDefault(key string, def interface{}) interface{}
- func Load() error
- func Reload() error
Constants ¶
View Source
const CmdSource = "cmd"
View Source
const EnvSource = "env"
Variables ¶
This section is empty.
Functions ¶
func GetBoolSlice ¶
func GetBoolSliceWithDefault ¶
func GetBoolWithDefault ¶
func GetFloatSlice ¶
func GetFloatWithDefault ¶
func GetIntSlice ¶
func GetIntSliceWithDefault ¶
func GetIntWithDefault ¶
func GetStringSlice ¶
func GetStringWithDefault ¶
func GetValueWithDefault ¶
func GetValueWithDefault(key string, def interface{}) interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.