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: 8 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
	NoCores        int
	ExportFileRoot string
	Devices        []coreconfig.CoreConfig
}

func (*ModuleConfig) AddNewDevice

func (hc *ModuleConfig) AddNewDevice(dev coreconfig.CoreConfig) bool

func (*ModuleConfig) GetDevice

func (hc *ModuleConfig) GetDevice(uid string) (*coreconfig.CoreConfig, error)

func (*ModuleConfig) GetDevices

func (hc *ModuleConfig) GetDevices() []coreconfig.CoreConfig

func (*ModuleConfig) GetDisabledDevices

func (hc *ModuleConfig) GetDisabledDevices() []string

func (*ModuleConfig) GetEnabledDevices

func (hc *ModuleConfig) GetEnabledDevices() []string

func (*ModuleConfig) GetExportFileRoot

func (hc *ModuleConfig) GetExportFileRoot() string

func (*ModuleConfig) GetNoCores

func (hc *ModuleConfig) GetNoCores() int

func (*ModuleConfig) LoadConfig

func (hc *ModuleConfig) LoadConfig() error

func (ModuleConfig) SaveConfig

func (hc ModuleConfig) SaveConfig() error

func (*ModuleConfig) SetEnabledDevices

func (hc *ModuleConfig) SetEnabledDevices(uids []string)

func (*ModuleConfig) SetExportFileRoot

func (hc *ModuleConfig) SetExportFileRoot(path string)

func (*ModuleConfig) SetNoCores

func (hc *ModuleConfig) SetNoCores(n int)

Jump to

Keyboard shortcuts

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