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: 9 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
	UpdInterv      int // minutes (0=disabled)
	SaveToDB       bool
	SaveToCSV      bool
	LoadFromDB     bool
	LoadFromCSV    bool
	ImportCSVtoDB  bool
	GasTypes       []string
	Stations       station.StationList
}

func (*ModuleConfig) GetGasTypes

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

func (*ModuleConfig) GetUpdInterval

func (hc *ModuleConfig) GetUpdInterval() time.Duration

func (*ModuleConfig) LoadConfig

func (hc *ModuleConfig) LoadConfig() error

func (ModuleConfig) SaveConfig

func (hc ModuleConfig) SaveConfig() error

Jump to

Keyboard shortcuts

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