Documentation
¶
Index ¶
- type AppCfgMgr
- func (mgr *AppCfgMgr[TCfg]) GetCfg() TCfg
- func (mgr *AppCfgMgr[TCfg]) LoadJsonCfgFromFile(cfgFIlePath string) error
- func (mgr *AppCfgMgr[TCfg]) LoadYamlCfgFromFile(cfgFilePath string) error
- func (mgr *AppCfgMgr[TCfg]) ReloadConfig(cfg TCfg) error
- func (mgr *AppCfgMgr[TCfg]) SaveToJsonFile(filePath string) error
- func (mgr *AppCfgMgr[TCfg]) SaveToYamlFile(filePath string) error
- type IAppCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCfgMgr ¶
type AppCfgMgr[TCfg IAppCfg] struct { // contains filtered or unexported fields }
func NewAppCfgMgr ¶
func (*AppCfgMgr[TCfg]) LoadJsonCfgFromFile ¶
func (*AppCfgMgr[TCfg]) LoadYamlCfgFromFile ¶
func (*AppCfgMgr[TCfg]) ReloadConfig ¶
func (*AppCfgMgr[TCfg]) SaveToJsonFile ¶
func (*AppCfgMgr[TCfg]) SaveToYamlFile ¶
Click to show internal directories.
Click to hide internal directories.