Documentation
¶
Index ¶
- Variables
- func Attach(cfgName string, cbName string, callback Callback) bool
- func Detach(cfgName string, cbName string) bool
- func GetConfig(key string, value interface{}) (err error)
- func GetDefault(key string, value interface{}) (err error)
- func SetConfig(key string, value interface{}) (err error)
- func SetDefault(key string, value interface{}) (err error)
- type Callback
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DftConfigPath = "/mnt/config/default.json" CurConfigPath = "/mnt/config/current.json" )
Functions ¶
func GetDefault ¶
func SetDefault ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.