Documentation
¶
Index ¶
- type Confhub
- func (c *Confhub) AllKeys() []string
- func (c *Confhub) ConfigChange(fn func(e fsnotify.Event))
- func (c *Confhub) Exist() bool
- func (c *Confhub) Get(key string) (value ztype.Type)
- func (c *Confhub) GetAll(force ...bool) ztype.Map
- func (c *Confhub) Path() string
- func (c *Confhub) Read() (err error)
- func (c *Confhub) Set(key string, value interface{})
- func (c *Confhub) SetDefault(key string, value interface{})
- func (c *Confhub) Unmarshal(rawVal interface{}, force ...bool) error
- func (c *Confhub) UnmarshalKey(key string, rawVal interface{}, force ...bool) error
- func (c *Confhub) Write(filepath ...string) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Confhub ¶
func (*Confhub) ConfigChange ¶
func (*Confhub) SetDefault ¶
func (*Confhub) UnmarshalKey ¶
Click to show internal directories.
Click to hide internal directories.