Discover Packages
github.com/skapfer/dd-trace-go
contrib
google.golang.org
internal
grpcutil
package
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Dec 24, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type MDCarrier (mdc) ForeachKey(handler) (mdc) Get(key) (mdc) Set(key, val)
Documentation
¶
MDCarrier implements tracer.TextMapWriter and tracer.TextMapReader on top
of gRPC's metadata, allowing it to be used as a span context carrier for
distributed tracing.
ForeachKey will iterate over all key/value pairs in the metadata.
Get will return the first entry in the metadata at the given key.
Set will add the given value to the values found at key. Key will be lowercased to match
the metadata implementation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.