Registry / networking / mostynb-go-grpc-compression

mostynb-go-grpc-compression

JSON →
library1.2.3gogounverified

Package go-grpc-compression provides compression middleware for gRPC clients and servers.

go get github.com/mostynb/go-grpc-compression
INSTALL
IMPORT
SIG · MOSTYNB-GO-GRPC-CO
M
mostynb-go-grpc-compression
networkinggov1.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grpccompress
github.com/mostynb/go-grpc-compression

Enable gzip compression for a gRPC client connection.

package main import ( "google.golang.org/grpc" "github.com/mostynb/go-grpc-compression" ) func main() { conn, _ := grpc.Dial("localhost:50051", grpc.WithInsecure(), grpc.WithDefaultCallOptions(grpc.UseCompressor(grpccompress.GzipCompressor))) defer conn.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources