package
0.0.0-20240821054911-366547e8a2d4
Repository: https://github.com/windzhu0514/go-utils.git
Documentation: pkg.go.dev
# Functions
AppendToRequestContext returns a new context with the provided kv merged with any existing metadata in the context.
FromRequestContext returns the request metadata in ctx if it exists.
MergeToRequestContext merge new metadata into ctx.
New creates an MD from a given key-values map.
NewRequestContext creates a new context with request md attached.
# Type aliases
Metadata is our way of representing request headers internally.