Documentation ¶
Index ¶
- func GetBool(key string, def ...bool) bool
- func GetInt(key string, def ...int) int
- func GetInt64(key string, def ...int64) int64
- func GetMillisecond(key string, def ...time.Duration) time.Duration
- func GetString(key string, defaultValue ...string) string
- func GetUint(key string, def ...uint) uint
- func ParseTimeConfig(t string) (time.Time, error)
- func SetString(key string, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMillisecond ¶
GetMillisecond returns a setting in time.Duration.
func ParseTimeConfig ¶ added in v0.0.2
ParseTimeConfig parses config to time with format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.