Documentation ¶
Overview ¶
Package propagation implements the binary trace context format.
TODO: link to external spec document.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Binary ¶
func Binary(sc trace.SpanContext) []byte
Binary returns the binary format representation of a SpanContext.
If sc is the zero value, Binary returns nil.
func FromBinary ¶
func FromBinary(b []byte) (sc trace.SpanContext, ok bool)
FromBinary returns the SpanContext represented by b.
If b has an unsupported version ID or contains no TraceID, FromBinary returns with ok==false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.