Documentation ¶
Index ¶
- type ModuleConfig
- func (hc *ModuleConfig) GetAutoAdd() bool
- func (hc *ModuleConfig) GetAutoDelete() bool
- func (hc *ModuleConfig) GetAutoUpdate() bool
- func (hc *ModuleConfig) GetMaxFileSize() float64
- func (hc *ModuleConfig) LoadConfig() error
- func (hc ModuleConfig) SaveConfig() error
- func (hc *ModuleConfig) SetAutoAdd(enable bool)
- func (hc *ModuleConfig) SetAutoDelete(enable bool)
- func (hc *ModuleConfig) SetAutoUpdate(enable bool)
- func (hc *ModuleConfig) SetMaxFileSize(size float64)
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)
Click to show internal directories.
Click to hide internal directories.