package
1.14.0
Repository: https://github.com/jacobkranz/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package gzip implements and registers the gzip compressor during the initialization.
Package proto defines the protobuf codec.

# Functions

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.