Documentation
¶
Index ¶
- type ModuleConfig
- func (hc *ModuleConfig) AddCore() (string, error)
- func (hc *ModuleConfig) Exit(em *types.ExitMessage) error
- func (hc *ModuleConfig) GetCoreConfig(uid string) (coreconfig.CoreConfig, error)
- func (hc *ModuleConfig) GetCoreList() []string
- func (hc *ModuleConfig) GetDBFile() string
- func (hc *ModuleConfig) LoadConfig() error
- func (hc ModuleConfig) SaveConfig() error
- func (hc *ModuleConfig) SetCoreConfig(co coreconfig.CoreConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleConfig ¶
type ModuleConfig struct { Header config.FileHeader UIFileRoot string StaticFileRoot string LangFileRoot string FileRoot string DBFile string Cores []coreconfig.CoreConfig }
func (*ModuleConfig) AddCore ¶
func (hc *ModuleConfig) AddCore() (string, error)
func (*ModuleConfig) Exit ¶
func (hc *ModuleConfig) Exit(em *types.ExitMessage) error
func (*ModuleConfig) GetCoreConfig ¶
func (hc *ModuleConfig) GetCoreConfig(uid string) (coreconfig.CoreConfig, error)
func (*ModuleConfig) GetCoreList ¶
func (hc *ModuleConfig) GetCoreList() []string
func (*ModuleConfig) GetDBFile ¶
func (hc *ModuleConfig) GetDBFile() string
func (*ModuleConfig) LoadConfig ¶
func (hc *ModuleConfig) LoadConfig() error
func (ModuleConfig) SaveConfig ¶
func (hc ModuleConfig) SaveConfig() error
func (*ModuleConfig) SetCoreConfig ¶
func (hc *ModuleConfig) SetCoreConfig(co coreconfig.CoreConfig) error
Click to show internal directories.
Click to hide internal directories.