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: 10 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
	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

Jump to

Keyboard shortcuts

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