Documentation
¶
Overview ¶
Package gzip provides a streaming object for taking in io.ReadCloser that is being written to and providing an io.ReadCloser that outputs the original content gzip compressed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamer ¶
type Streamer struct {
// contains filtered or unexported fields
}
Streamer implements an io.ReadCloser that converts data from a non-compressed stream to a compressed stream.
func (*Streamer) Reset ¶
func (s *Streamer) Reset(reader io.ReadCloser)
Reset resets the streamer object to defaults and accepts the io.ReadCloser. You can only use Reset after a previous reader has closed.
Click to show internal directories.
Click to hide internal directories.