Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext returns all baggage attached to the given context as a header map, or nil if no baggage is attached to it.
func NewContext ¶
NewContext returns a copy of the context with the given key-value pair attached to it.
The parent context's baggage is left intact.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.