Documentation ¶
Index ¶
Constants ¶
View Source
const ( GzipType = "gzip" ZlibType = "zlib" DeflateType = "deflate" SnappyType = "snappy" ZstdType = "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.CompressionConfig, reader io.Reader, ) (CompressorReader, error)
type CompressorWriter ¶
type CompressorWriter interface { io.WriteCloser Flush() error }
func NewNoopCompressorWriter ¶
func NewNoopCompressorWriter(buf io.Writer) CompressorWriter
func NewWriter ¶
func NewWriter( conf *config.CompressionConfig, 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
func (*NoopCompressorWriter) Flush ¶
func (c *NoopCompressorWriter) Flush() error
Click to show internal directories.
Click to hide internal directories.