package
0.10.3
Repository: https://github.com/cloudwego/kitex.git
Documentation: pkg.go.dev

# Packages

Package gzip implements and registers the gzip compressor during the initialization.

# Functions

FindCompressor is used to search for compressors based on a given name, where the input name can be an array of compressor names.
FindCompressorName returns the name of compressor that actually used.
GetCodec gets a registered Codec by content-subtype, or nil if no Codec is registered for the content-subtype.
GetCompressor returns Compressor for the given compressor name.
RegisterCodec registers the provided Codec for use with all gRPC clients and servers.
RegisterCompressor registers the compressor with gRPC by its name.

# Constants

Identity specifies the optional encoding for uncompressed streams.

# Interfaces

Codec defines the interface gRPC uses to encode and decode messages.
Compressor is used for compressing and decompressing when sending or receiving messages.