Documentation ¶
Index ¶
Constants ¶
View Source
const FileExtension = "gz"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor struct{}
func (Compressor) FileExtension ¶
func (compressor Compressor) FileExtension() string
func (Compressor) NewWriter ¶
func (compressor Compressor) NewWriter(writer io.Writer) io.WriteCloser
type Decompressor ¶
type Decompressor struct{}
func (Decompressor) Decompress ¶
func (decompressor Decompressor) Decompress(src io.Reader) (io.ReadCloser, error)
func (Decompressor) FileExtension ¶
func (decompressor Decompressor) FileExtension() string
Click to show internal directories.
Click to hide internal directories.