Documentation ¶
Index ¶
- func ConfName() string
- func HotReload(ctx context.Context, confName string)
- func Init(cflag, app, default_conf string)
- func Load(conf interface{}) (err error)
- func LoadData(conf interface{}, data []byte) (err error)
- func LoadFile(conf interface{}, confName string) (err error)
- func Register(fn func(conf []byte) error)
- func SafeLoadData(conf interface{}, data []byte) (err error)
- type Reload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SafeLoadData ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.