Documentation ¶
Index ¶
- Constants
- func GetCompressWriter(name string, writer io.Writer) (io.Writer, error)
- func GetCompressor(name string) (message.Compressor, error)
- func GetDecompressReader(name string, reader io.Reader) (io.ReadCloser, error)
- func GetDecompressor(name string) (message.Decompressor, error)
- type CompressWriterIns
- type CompressorInstantiator
- type DecompressReaderIns
- type DecompressorInstantiator
Constants ¶
View Source
const ( ZLIB = "zlib" GZIP = "gzip" FLATE = "flate" ZSTD = "zstd" )
Variables ¶
This section is empty.
Functions ¶
func GetCompressor ¶
func GetCompressor(name string) (message.Compressor, error)
func GetDecompressReader ¶
func GetDecompressor ¶
func GetDecompressor(name string) (message.Decompressor, error)
Types ¶
type CompressorInstantiator ¶
type CompressorInstantiator func(name string) (message.Compressor, error)
type DecompressReaderIns ¶
type DecompressReaderIns func(reader io.Reader) (io.ReadCloser, error)
type DecompressorInstantiator ¶
type DecompressorInstantiator func(name string) (message.Decompressor, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.