kubernetes/vendor/go.opentelemetry.io/otel/propagation/trace_context.go

const supportedVersion

const maxVersion

const traceparentHeader

const tracestateHeader

const delimiter

type TraceContext

var _

var versionPart

// Inject injects the trace context from ctx into carrier.
func (tc TraceContext) Inject(ctx context.Context, carrier TextMapCarrier) {}

// Extract reads tracecontext from the carrier into a returned Context.
//
// The returned Context will be a copy of ctx and contain the extracted
// tracecontext as the remote SpanContext. If the extracted tracecontext is
// invalid, the passed ctx will be returned directly instead.
func (tc TraceContext) Extract(ctx context.Context, carrier TextMapCarrier) context.Context {}

func (tc TraceContext) extract(carrier TextMapCarrier) trace.SpanContext {}

// upperHex detect hex is upper case Unicode characters.
func upperHex(v string) bool {}

func extractPart(dst []byte, h *string, n int) bool {}

// Fields returns the keys who's values are set with Inject.
func (tc TraceContext) Fields() []string {}