package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Functions

ContentSubtype returns the content-subtype for the given content-type.
ContentType builds full content type with the given sub-type.
EncodeDuration encodes the duration to the format grpc-timeout header accepts.
ExtraMetadata returns the incoming metadata in ctx if it exists.
FullMatchWithRegex returns whether the full text matches the regex provided.
IsCompressorNameRegistered returns true when name is available in registry.
ParseMethod splits service and method from the input.
RegisteredCompressors returns a string of registered compressor names separated by comma.
WithExtraMetadata creates a new context with incoming md attached.

# Variables

RegisteredCompressorNames holds names of the registered compressors.