Categorygithub.com/go-mixins/metadata
modulepackage
0.0.4
Repository: https://github.com/go-mixins/metadata.git
Documentation: pkg.go.dev

# README

Metadata

This is a collection of Golang packages to propagate context on the wire. To keep it simple, stupid metadata format is chosen to be compatible with http.Header type.

# Packages

No description provided by the author
Package http provides HTTP client and server wrappers to send and receive metadata on the wire.
No description provided by the author

# Functions

Add adds the key, value pair to the metadata.
Clone header for thread safety.
Del deletes the values associated with key from metadata.
From extracts metadata from the Context.
Get gets the first value associated with the given key.
Set sets the metadata entries to single value.
With injects metadata into Context.