moduleconfig

package
v0.0.0-...-3444db6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL