package
1.21.0
Repository: https://github.com/ardagan/tchannel-go.git
Documentation: pkg.go.dev

# Functions

MockTracerSampledSpans is a helper function that returns only sampled spans from MockTracer.

# Constants

BaggageKey is used for testing baggage propagation.
BaggageValue is used for testing baggage propagation.
Jaeger is Uber's tracer, baggage-capable, Zipkin-style trace IDs.
Mock tracer, baggage-capable, non-Zipkin trace IDs.
Noop is for the default no-op tracer from OpenTracing.

# Structs

EncodingInfo describes the encoding used with tracing propagation test.
PropagationTestCase describes a single propagation test case and expected results.
PropagationTestSuite is a collection of test cases for a certain encoding.
TraceHandler is a base class for testing tracing propagation.
TracingRequest tests tracing capabilities in a given server.
TracingResponse captures the trace info observed in the server and its downstream calls.

# Type aliases

TracerType is a convenient enum to indicate which type of tracer is being used in the test.
TracingCall is used in a few other structs here.