Documentation ¶
Index ¶
- type ModuleConfig
- func (hc *ModuleConfig) AddExclude(user string, path string)
- func (hc *ModuleConfig) AddItem(user string, item backupitem.BackupItem)
- func (hc *ModuleConfig) Exit(em *types.ExitMessage) error
- func (hc *ModuleConfig) GetExclude(user string) []string
- func (hc *ModuleConfig) GetItems(user string) []backupitem.BackupItem
- func (hc *ModuleConfig) LoadConfig() error
- func (hc ModuleConfig) SaveConfig() error
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 Users []userconfig.UserConfig }
func (*ModuleConfig) AddExclude ¶
func (hc *ModuleConfig) AddExclude(user string, path string)
func (*ModuleConfig) AddItem ¶
func (hc *ModuleConfig) AddItem(user string, item backupitem.BackupItem)
func (*ModuleConfig) Exit ¶
func (hc *ModuleConfig) Exit(em *types.ExitMessage) error
func (*ModuleConfig) GetExclude ¶
func (hc *ModuleConfig) GetExclude(user string) []string
func (*ModuleConfig) GetItems ¶
func (hc *ModuleConfig) GetItems(user string) []backupitem.BackupItem
func (*ModuleConfig) LoadConfig ¶
func (hc *ModuleConfig) LoadConfig() error
func (ModuleConfig) SaveConfig ¶
func (hc ModuleConfig) SaveConfig() error
Click to show internal directories.
Click to hide internal directories.