Documentation ¶
Index ¶
- Variables
- func LoadValues(fname string)
- func Persist() error
- func PersistKeyValue(key, value string) error
- func SetHas(conf *Setting[Set], key string) bool
- func SetKeyValue(key, value string) error
- func Value(key string) (string, bool)
- func Values() map[string]string
- type Set
- type Setting
- func BoolConf(key string, defaultv bool) *Setting[bool]
- func DurationConf(key string, defaultv time.Duration) *Setting[time.Duration]
- func Float64Conf(key string, defaultv float64) *Setting[float64]
- func IntConf(key string, defaultv int) *Setting[int]
- func RegexConf(key string, defaultv *regexp.Regexp) *Setting[*regexp.Regexp]
- func SetConf(key, defaultset string) *Setting[Set]
- func StrConf(key string, defaultv string) *Setting[string]
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.