Documentation
¶
Overview ¶
Package config is responsible for application configuration init.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RootDevice string `json:"root_device"` Path string `json:"path"` // needs to save config file from app. DBPath string `json:"db_path"` ToRemove []string `json:"to_remove"` BtrfsSupported bool `json:"btrfs_supported"` Schedule domain.Schedule `json:"schedule"` Volumes []domain.Volume `json:"volumes"` FileMode os.FileMode `json:"file_mode"` KernelVersion string }
Config represents configuration of application. It keeps all needed settings. Config is saved on a disk.
Click to show internal directories.
Click to hide internal directories.