package
Version:
v2.3.2+incompatible
Opens a new window with list of versions in this module.
Published: Apr 21, 2016
License: BSD-3-Clause, Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package metadata define the structure of the metadata supported by gRPC library.
DecodeKeyValue returns the original key and value corresponding to the
encoded data in k, v.
NewContext creates a new context with md attached.
MD is a mapping from metadata keys to values. Users should use the following
two convenience functions New and Pairs to generate MD.
FromContext returns the MD in ctx if it exists.
New creates a MD from given key-value map.
Pairs returns an MD formed by the mapping of key, value ...
Pairs panics if len(kv) is odd.
Copy returns a copy of md.
Len returns the number of items in md.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.