Documentation
¶
Index ¶
- func GetDuration(key string) time.Duration
- func GetFeature(key string) bool
- func GetFloat32Slice(key string) []float32
- func GetFloat64Slice(key string) []float64
- func GetInt(key string) int
- func GetInt64(key string) int64
- func GetInt64Slice(key string) []int64
- func GetIntSlice(key string) []int
- func GetJSON(key string, val interface{}) error
- func GetString(key string) string
- func GetStringSlice(key string) []string
- func GetUint(key string) uint
- func Init(filename, configType string)
- func MustGetDuration(key string) time.Duration
- func MustGetFloat32(key string) float32
- func MustGetFloat64(key string) float64
- func MustGetInt(key string) int
- func MustGetInt64(key string) int64
- func MustGetJSON(key string, val interface{}) error
- func MustGetString(key string) string
- func MustGetUint(key string) uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDuration ¶
func GetFeature ¶
func GetFloat32Slice ¶
func GetFloat64Slice ¶
func GetInt64Slice ¶
func GetIntSlice ¶
func GetStringSlice ¶
func MustGetDuration ¶
func MustGetFloat32 ¶
func MustGetFloat64 ¶
func MustGetInt ¶
func MustGetInt64 ¶
func MustGetJSON ¶
func MustGetString ¶
func MustGetUint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.