Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

internal

v1.85.0
google.golang.org/grpc/encoding/internal

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

2 matches

Top ↑

Package internal contains code internal to the encoding package.

Variables

RegisterCompressorForTesting

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.

Dependency graph