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
	LangFileRoot string
	FileRoot     string
	TempRoot     string
	MaxFileSize  float64 // Megabytes
	AutoAdd      bool
	AutoUpdate   bool
	AutoDelete   bool
	LocalFiles   []syncfile.SyncFile
}

func (*ModuleConfig) GetAutoAdd

func (hc *ModuleConfig) GetAutoAdd() bool

func (*ModuleConfig) GetAutoDelete

func (hc *ModuleConfig) GetAutoDelete() bool

func (*ModuleConfig) GetAutoUpdate

func (hc *ModuleConfig) GetAutoUpdate() bool

func (*ModuleConfig) GetMaxFileSize

func (hc *ModuleConfig) GetMaxFileSize() float64

func (*ModuleConfig) LoadConfig

func (hc *ModuleConfig) LoadConfig() error

func (ModuleConfig) SaveConfig

func (hc ModuleConfig) SaveConfig() error

func (*ModuleConfig) SetAutoAdd

func (hc *ModuleConfig) SetAutoAdd(enable bool)

func (*ModuleConfig) SetAutoDelete

func (hc *ModuleConfig) SetAutoDelete(enable bool)

func (*ModuleConfig) SetAutoUpdate

func (hc *ModuleConfig) SetAutoUpdate(enable bool)

func (*ModuleConfig) SetMaxFileSize

func (hc *ModuleConfig) SetMaxFileSize(size float64)

Jump to

Keyboard shortcuts

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