Documentation ¶
Index ¶
Constants ¶
View Source
const ( GZIP_TYPE = "gzip" ZLIB_TYPE = "zlib" DEFLATE_TYPE = "deflate" SNAPPY_TYPE = "snappy" ZSTD_TYPE = "zstd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressorReader ¶
func NewNoopCompressorReader ¶
func NewNoopCompressorReader(r io.Reader) CompressorReader
func NewReader ¶
func NewReader( conf *config.Compression, reader io.Reader, ) (CompressorReader, error)
type CompressorWriter ¶
type CompressorWriter interface { io.WriteCloser }
func NewNoopCompressorWriter ¶
func NewNoopCompressorWriter(buf io.Writer) CompressorWriter
func NewWriter ¶
func NewWriter( conf *config.Compression, writer io.Writer, ) (CompressorWriter, error)
type NoopCompressorReader ¶
type NoopCompressorReader struct {
// contains filtered or unexported fields
}
func (*NoopCompressorReader) Close ¶
func (c *NoopCompressorReader) Close() error
type NoopCompressorWriter ¶
type NoopCompressorWriter struct {
// contains filtered or unexported fields
}
func (*NoopCompressorWriter) Close ¶
func (c *NoopCompressorWriter) Close() error
Click to show internal directories.
Click to hide internal directories.