package
Version:
v0.0.0-...-36af7d8
Opens a new window with list of versions in this module.
Published: May 29, 2019
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Archiver struct {
TimeFormat string
BackupPath string
}
Archiver performs, stores and rotates mysql backups.
Archive performs a backup on the given database.
Rotate purges old backups in a given database subdirectory.
SetLogger lets callers configure the internal logger used.
Finfo embeds os.FileInfo alongside an easily compared created time (int64)
FinfoList implements sort.Interface
Less prefers the latest time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.