zstd

package module
v0.0.0-...-3b59326 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

zstd

A zstd compressor/decompressor for gRPC-Go.

Documentation

Overview

Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.

Example
conn, err := grpc.Dial(
	"localhost:9000",
	grpc.WithDefaultCallOptions(grpc.UseCompressor(zstd.Name)),
	grpc.WithInsecure(),
)
if err != nil {
	panic(err)
}
defer conn.Close()
Output:

Directories

Path Synopsis
cgo
zstd
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.
internal
pure
zstd
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.
Package zstd implements and registers the zstd compressor for gRPC-Go during the initialization.

Jump to

Keyboard shortcuts

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