package
1.0.0
Repository: https://github.com/liyiysng/scatter.git
Documentation: pkg.go.dev

# Packages

Package gzip implements and registers the gzip compressor during the initialization.
No description provided by the author
Package proto defines the protobuf codec.
No description provided by the author

# 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 node clients and servers.
RegisterCompressor registers the compressor with gRPC by its name.

# Interfaces

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