package gzip
Import Path
google.golang.org/grpc/encoding/gzip (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
Package gzip implements and registers the gzip compressor
during the initialization.
# Experimental
Notice: This package is EXPERIMENTAL and may be changed or removed in a
later release.
Package-Level Functions (only one)
SetLevel updates the registered gzip compressor to use the compression level specified (gzip.HuffmanOnly is not supported).
NOTE: this function must only be called during initialization time (i.e. in an init() function),
and is not thread-safe.
The error returned will be nil if the specified level is valid.
Package-Level Constants (only one)
Name is the name registered for the gzip compressor.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |