# Functions
Bool get boolean from metadata in context use strconv.Parse.
FromContext returns the incoming metadata in ctx if it exists.
Int64 get int64 value from metadata in context.
IsIncomingKey represent this key should extract from rpc metadata.
IsOutgoingKey represent this key should propagate by rpc.
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.
Pairs returns an MD formed by the mapping of key, value ..
Range range value from metadata in context filtered by filterFunc.
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.
Cluster cluster info key.
Router.
Criticality.
Device Deprecated: should be use device.FromContext(ctx) instead.
Locale locale language.
Mid 外网账户用户id.
Mirror.
Network.
metadata common key.
Uid 内网manager平台的用户id user_id.
Username LDAP平台的username.
metadata common key.
# Type aliases
MD is a mapping from metadata keys to values.