Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor struct {
// contains filtered or unexported fields
}
Compressor compress/decompress backup data before/after sending/receiving from storage
func (*Compressor) Compress ¶
func (c *Compressor) Compress(backupFilePath string) (string, error)
Compress the given backupFile and returns the full filename with the extension
func (*Compressor) Decompress ¶
func (c *Compressor) Decompress(backupFilePath string) error
Decompress the given backupFile
func (*Compressor) Extension ¶
func (c *Compressor) Extension() string
Extension returns the file extension of the configured compressor, depending on the method
Click to show internal directories.
Click to hide internal directories.