Documentation ¶ Index ¶ Variables type GZip func New() *GZip func NewLvl(compressionLevel int) *GZip func (g *GZip) Compress(in io.Reader, out io.Writer) error func (g *GZip) Decompress(in io.Reader, out io.Writer) error func (g *GZip) Ext(fileName string) error Constants ¶ This section is empty. Variables ¶ View Source var Gz = New() Functions ¶ This section is empty. Types ¶ type GZip ¶ type GZip struct { // contains filtered or unexported fields } func New ¶ func New() *GZip func NewLvl ¶ added in v0.0.3 func NewLvl(compressionLevel int) *GZip func (*GZip) Compress ¶ func (g *GZip) Compress(in io.Reader, out io.Writer) error func (*GZip) Decompress ¶ func (g *GZip) Decompress(in io.Reader, out io.Writer) error func (*GZip) Ext ¶ func (g *GZip) Ext(fileName string) error Source Files ¶ View all Source files gzip.go Directories ¶ Show internal Expand all Path Synopsis test Click to show internal directories. Click to hide internal directories.