Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_COMPRESSION_FORMAT = "zip" DEFAULT_COMPRESSION_PREFIX = "" DEFAULT_ZIP_PASSWORD = "" )
View Source
const ( TYPE_FILE = "file" TYPE_DIR = "dir" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressionConfig ¶ added in v0.0.2
type Config ¶
type Config struct {
Type string `yaml:"type"` //type of target object
Path string `yaml:"path"` //path to backup target dir
CompressionConfig *CompressionConfig `yaml:"compression"`
StorageConfigs []StorageConfig `yaml:"storages"`
}
Click to show internal directories.
Click to hide internal directories.