Categorygithub.com/mostynb/go-grpc-compression

# README

go-grpc-compression

This respository contains go gRPC encoding wrappers for some useful compression algorithms that are not available in google.golang.org/grpc.

The following algorithms also have experimental implementations, which have not been tested as much as those above. These may be changed significantly, or even removed from this library at a future point.

Importing any of the packages above will override any previously registered encoders with the same name. If you would prefer imports to only register the encoder if there is no previously registered encoder with the same name, then you should instead import one of the following packages:

  • github.com/mostynb/go-grpc-compression/nonclobbering/lz4
  • github.com/mostynb/go-grpc-compression/nonclobbering/snappy
  • github.com/mostynb/go-grpc-compression/nonclobbering/zstd
  • github.com/mostynb/go-grpc-compression/nonclobbering/experimental/klauspost_snappy
  • github.com/mostynb/go-grpc-compression/nonclobbering/experimental/s2

# Packages

No description provided by the author
Package github.com/mostynb/go-grpc-compression/lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
No description provided by the author
Package github.com/mostynb/go-grpc-compression/snappy is a wrapper for using github.com/golang/snappy with gRPC.
Package github.com/mostynb/go-grpc-compression/zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.