Documentation ¶
Index ¶
- type Confhub
- func (c *Confhub) ConfigChange(fn func(e fsnotify.Event))
- func (c *Confhub) Exist() bool
- func (c *Confhub) Get(key string) (value interface{})
- func (c *Confhub) GetAll() map[string]interface{}
- 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{}, opts ...viper.DecoderConfigOption) error
- func (c *Confhub) Write(filepath ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Confhub ¶
func (*Confhub) ConfigChange ¶
func (*Confhub) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.