package
1.11.9
Repository: https://github.com/xmidt-org/webpa-common.git
Documentation: pkg.go.dev

# Packages

Package tracinghttp provides marshaling support for tracing data into HTTP requests and responses */.

# Functions

MergeSpans attempts to merge the given spans into a container.
NewSpanError "span-izes" an existing error object, returning the SpanError which annotates that error with one or more spans.
NewSpanner constructs a new Spanner with the given options.
Now sets a now function on a spanner.
Since sets a since function on a spanner.
Spans extracts the slice of Span instances from a container, if possible.

# Constants

NoErrorSupplied is the string returned from SpanError.Error() if no causal error is supplied to NewSpanError.

# Interfaces

Mergeable represents a Spanned which can be merged with other spans.
Span represents the result of some arbitrary section of code.
SpanError represents an error that has one or more spans associated with it.
Spanned can be implemented by message objects to describe the spans involved in producing the message.
Spanner acts as a factory for Spans.

# Type aliases

NopMergeable is just a Mergeable with no other state.
SpannerOption supplies a configuration option to a Spanner.