package
1.1.11
Repository: https://github.com/github121380/golib.git
Documentation: pkg.go.dev

# Functions

Bool get boolean from metadata in context use strconv.Parse.
No description provided by the author
FromContext returns the incoming metadata in ctx if it exists.
No description provided by the author
Int64 get int64 value from metadata in context.
Join joins any number of mds into a single MD.
New creates an MD from a given key-value map.
NewContext creates a new context with md attached.
No description provided by the author
Pairs returns an MD formed by the mapping of key, value ..
String get string value from metadata in context.
Value get value from metadata in context return nil if not found.
WithContext return no deadline context and retain metadata.

# Constants

metadata common key.
metadata common key.
Cluster cluster info key.
metadata common key.
metadata common key.
Device.
metadata common key.
metadata common key.
metadata common key.
Log.
metadata common key.
metadata common key.
metadata common key.
metadata common key.
metadata common key.
metadata common key.
metadata common key.
metadata common key.

# Type aliases

MD is a mapping from metadata keys to values.