package metadata

Import Path
	google.golang.org/grpc/internal/metadata (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 2 packages

Involved Source Files Package metadata contains functions to set and get metadata from addresses. This package is experimental.
Package-Level Type Names (total 2, neither is exported)
/* sort exporteds by: | */
Package-Level Functions (total 4, in which 3 are exported)
Get returns the metadata of addr.
Set sets (overrides) the metadata in addr. When a SubConn is created with this address, the RPCs sent on it will all have this metadata.
Validate returns an error if the input md contains invalid keys or values. If the header is not a pseudo-header, the following items are checked: - header names must contain one or more characters from this set [0-9 a-z _ - .]. - if the header-name ends with a "-bin" suffix, no validation of the header value is performed. - otherwise, the header value must contain one or more characters from the set [%x20-%x7E].
Package-Level Constants (only one, which is unexported)