Documentation
¶
Index ¶
Constants ¶
View Source
const (
AppName = "watch-go"
)
Variables ¶
View Source
var ( File string Debug bool General = &cfg.General FileSystemCfg = &cfg.FileSystem )
Functions ¶
func GetStaticBackupFolder ¶
func GetStaticBackupFolder() string
Types ¶
type CompressConfig ¶
type FileSystemConfig ¶
type FileSystemConfig struct {
Paths []string `yaml:"paths"`
Compress CompressConfig `yaml:"compress"`
MaxFileSize int64 `yaml:"max_file_size"`
Backup struct {
HardDrivePath string `yaml:"hard_drive_path"`
Prefix []string `yaml:"prefix"`
} `yaml:"backup"`
}
Click to show internal directories.
Click to hide internal directories.