Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToRequestContext ¶
AppendToRequestContext returns a new context with the provided kv merged with any existing metadata in the context.
func MergeToRequestContext ¶
MergeToRequestContext merge new metadata into ctx.
Types ¶
type Metadata ¶
Metadata is our way of representing request headers internally. They're used at the RPC level and translate back and forth from Transport headers.
func FromRequestContext ¶
FromRequestContext returns the request metadata in ctx if it exists.
Click to show internal directories.
Click to hide internal directories.