Documentation ¶
Overview ¶
Package compressionimpl provides a set of functions for compressing with zlib / zstd
Package compressionimpl provides a set of functions for compressing with zlib / zstd
Index ¶
Constants ¶
View Source
const NoneKind = "none"
NoneKind defines a const value for disabling compression
View Source
const ZlibKind = "zlib"
ZlibKind defines a const value for the zlib compressor
View Source
const ZstdKind = "zstd"
ZstdKind defines a const value for the zstd compressor
Variables ¶
This section is empty.
Functions ¶
func NewCompressor ¶
func NewCompressor(cfg config.Component) compression.Component
NewCompressor returns a new Compressor based on serializer_compressor_kind This function is called only when the zlib build tag is included
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.