/go-grpc-compression

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

Primary LanguageGoApache License 2.0Apache-2.0

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