Documentation ¶
Index ¶
Constants ¶
View Source
const ( GZIP archiveType = "gzip" BZ2 = "bz2" XZ = "xz" NONE = "none" )
if you change it, should change syslog/initializer const, too.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonConfig ¶
type CommonConfig struct {
Include string `toml:"include"`
}
type CompressConfig ¶
type CompressConfig struct { Type archiveType `toml:"type"` Ext string `toml:"ext"` }
type Config ¶
type Config struct { Common CommonConfig Projects []ProjectConfig `toml:"project"` }
type ProjectConfig ¶
type ProjectConfig struct { Name string `toml:"name"` From string `toml:"from"` To string `toml:"to"` Rotate RotateConfig `toml:"rotate"` Compress CompressConfig `toml:"compress"` Success string `toml:"successCommand"` Failed string `toml:"failedCommand"` Pid string `toml:"pid"` }
type RotateConfig ¶
Click to show internal directories.
Click to hide internal directories.