2
0
mirror of https://git.coolaj86.com/coolaj86/go-watchdog.git synced 2025-12-24 21:28:40 +00:00
2019-06-24 20:00:11 -06:00

23 lines
544 B
Go

package compression
// Options for compression
type Options struct {
// activates the compression
// default: false
Compress bool
// valid values are:
// -> "NoCompression"
// -> "BestSpeed"
// -> "BestCompression"
// -> "DefaultCompression"
//
// default: "DefaultCompression" // when: Compress == true && Method == ""
Method string
// true = do it yourself (the file is written as gzip into the memory file system)
// false = decompress at run time (while writing file into memory file system)
// default: false
Keep bool
}