Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeContext ¶
MergeContext merge new metadata into ctx. if patchMd key exists, but value is empty, means delete it. overwrite flag means if key exist, it will be overwritten.
Types ¶
type Metadata ¶
Metadata is a map[string]string of key/value pairs.
func FromContext ¶
FromContext returns the metadata in ctx if it exists.
Click to show internal directories.
Click to hide internal directories.