Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecompressWriteCloser ¶
type DecompressWriteCloser struct {
// contains filtered or unexported fields
}
Unwraps compressed data to the given io.Writer stream.
func (*DecompressWriteCloser) Close ¶
func (w *DecompressWriteCloser) Close() error
type ICompress ¶
type ICompress interface {
NewDecompressWriteCloser(writeCloser io.WriteCloser) (*DecompressWriteCloser, error)
}
ICompress
type SCompress ¶
type SCompress struct{}
SCompress is an implementor of ICompress
func (*SCompress) NewDecompressWriteCloser ¶
func (c *SCompress) NewDecompressWriteCloser(writeCloser io.WriteCloser) (*DecompressWriteCloser, error)
NewDecompressWriteCloser takes an io.WriteCloser and wraps it in a type that will decompress Writes to the io.WriteCloser as they are written.
Click to show internal directories.
Click to hide internal directories.