Versions in this module Expand all Collapse all v1 v1.3.3 Oct 2, 2014 v1.3.1 Aug 21, 2014 Changes in this version + const BestCompression + const BestSpeed + const DefaultCompression + const NoCompression + var ErrChecksum = errors.New("gzip: invalid checksum") + var ErrHeader = errors.New("gzip: invalid header") + type Header struct + Comment string + Extra []byte + ModTime time.Time + Name string + OS byte + type Reader struct + func NewReader(r io.Reader) (*Reader, error) + func (z *Reader) Close() error + func (z *Reader) Read(p []byte) (n int, err error) + func (z *Reader) Reset(r io.Reader) error + type Writer struct + func NewWriter(w io.Writer) *Writer + func NewWriterLevel(w io.Writer, level int) (*Writer, error) + func (z *Writer) Close() error + func (z *Writer) Flush() error + func (z *Writer) Reset(w io.Writer) + func (z *Writer) Write(p []byte) (int, error)