package internal
import "google.golang.org/grpc/encoding/internal"
Package internal contains code internal to the encoding package.
Index ¶
Variables ¶
var RegisterCompressorForTesting any // func RegisterCompressor(c Compressor) func()
RegisterCompressorForTesting registers a compressor in the global compressor registry. It returns a cleanup function that should be called at the end of the test to unregister the compressor.
This prevents compressors registered in one test from appearing in the encoding headers of subsequent tests.
Source Files ¶
internal.go
- Version
- v1.79.0-dev
- Published
- Dec 11, 2025
- Platform
- js/wasm
- Last checked
- 1 hour ago –
Tools for package owners.