Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
func (*Options) Compress ¶
Compress reads the file stream to write compressed data use io.Pipe and a goroutine to create reader on data written by the appliation.
Then copy file through gzip to pipe writer with chosen compression algorithm level This uses CloseWithError to propgate errors back to the main goroutine. Then flush to the writer stream
Click to show internal directories.
Click to hide internal directories.