go-grpc-compression

module
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2024 License: Apache-2.0

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

Directories

Path Synopsis
experimental
klauspost_snappy
Package github.com/mostynb/go-grpc-compression/experimental/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
Package github.com/mostynb/go-grpc-compression/experimental/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
s2
Package github.com/mostynb/go-grpc-compression/s2 is an experimental wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
Package github.com/mostynb/go-grpc-compression/s2 is an experimental wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
internal
klauspost_snappy
Package experimental/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
Package experimental/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
lz4
Package lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
Package lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
s2
Package s2 is an experimental wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
Package s2 is an experimental wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
snappy
Package snappy is a wrapper for using github.com/golang/snappy with gRPC.
Package snappy is a wrapper for using github.com/golang/snappy with gRPC.
zstd
Package zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.
Package zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.
Package github.com/mostynb/go-grpc-compression/lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
Package github.com/mostynb/go-grpc-compression/lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
nonclobbering
experimental/klauspost_snappy
Package github.com/mostynb/go-grpc-compression/nonclobbering/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
Package github.com/mostynb/go-grpc-compression/nonclobbering/klauspost_snappy is a wrapper for using github.com/klauspost/compress/s2 in snappy compatibility mode with gRPC.
experimental/s2
Package github.com/mostynb/go-grpc-compression/nonclobbering/experimental/s2 is a wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
Package github.com/mostynb/go-grpc-compression/nonclobbering/experimental/s2 is a wrapper for using github.com/klauspost/compress/s2 stream compression with gRPC.
lz4
Package github.com/mostynb/go-grpc-compression/nonclobbering/lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
Package github.com/mostynb/go-grpc-compression/nonclobbering/lz4 is a wrapper for using github.com/pierrec/lz4 with gRPC.
snappy
Package github.com/mostynb/go-grpc-compression/nonclobbering/snappy is a wrapper for using github.com/golang/snappy with gRPC.
Package github.com/mostynb/go-grpc-compression/nonclobbering/snappy is a wrapper for using github.com/golang/snappy with gRPC.
zstd
Package github.com/mostynb/go-grpc-compression/nonclobbering/zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.
Package github.com/mostynb/go-grpc-compression/nonclobbering/zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.
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/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.
Package github.com/mostynb/go-grpc-compression/zstd is a wrapper for using github.com/klauspost/compress/zstd with gRPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL