package
0.13.1-beta1
Repository: https://github.com/donewscode/core.git
Documentation: pkg.go.dev

# Functions

GetBaggage returns the default Baggage stored in the context.
GetOrInjectBaggage creates and returns Baggage.
Inject constructs a Baggage object and injects it into the provided context under the default context key.
New constructs a new set of metadata.
WithoutCancel creates a new context from an existing context and inherits all values from the existing context.

# Variables

DefaultMetadata contains the default key for Baggage in the context.
ErrIncompatibleType is returned by Unmarshal if the value associated with a key isn't assignable to the provided target.
ErrNoBaggage is returned by accessor methods when they're called on a nil pointer receiver.
ErrNotFound is returned by Get or other accessors when the key isn't present.

# Structs

Baggage is an opaque type that can be injected into a context at e.g.
KeyVal combines a string key with its abstract value into a single tuple.
MetadataSet is a group key to the contextual data stored the context.