Discover Packages
github.com/sigmacomputing/google-cloud-go
internal
tracecontext
package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Jun 14, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package tracecontext provides encoders and decoders for Stackdriver Trace contexts.
Decode decodes the src into a trace ID, span ID and options. If src doesn't
contain a valid trace context, ok = false is returned.
Encode encodes trace ID, span ID and options into dst. The number of bytes
written will be returned. If len(dst) isn't big enough to fit the trace context,
a negative number is returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.