Documentation ¶
Index ¶
- func Close()
- func Init(file string)
- func Wait()
- type Any
- type Conf
- func (conf *Conf) Close()
- func (conf *Conf) Context() context.Context
- func (conf *Conf) Daemon(name string, cb func(context.Context))
- func (conf *Conf) Get(key string, def ...string) string
- func (conf *Conf) GetBool(key string, def ...bool) bool
- func (conf *Conf) GetDict(key string, def ...map[string]string) map[string]string
- func (conf *Conf) GetInt(key string, def ...int) int
- func (conf *Conf) GetList(key string, def ...[]string) []string
- func (conf *Conf) GetVal(key string, def ...Any) Any
- func (conf *Conf) Sub(key string) *Conf
- func (conf *Conf) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶ added in v0.6.4
func Close()
func Wait ¶ added in v0.6.4
func Wait()
Types ¶
type Any ¶ added in v0.6.4
type Any = interface{}
Click to show internal directories.
Click to hide internal directories.