propagationtest

package
v0.0.0-...-9ac8be7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestPropator

type TestPropator struct {
	SpanContextToMessageAttributesFunc   func(sc trace.SpanContext, v interface{}) bool
	SpanContextFromMessageAttributesFunc func(v interface{}) (trace.SpanContext, bool)
}

TestPropator is a test propagator

func (*TestPropator) SpanContextFromMessageAttributes

func (t *TestPropator) SpanContextFromMessageAttributes(v interface{}) (trace.SpanContext, bool)

SpanContextFromMessageAttributes returns a span context form message attributes

func (*TestPropator) SpanContextToMessageAttributes

func (t *TestPropator) SpanContextToMessageAttributes(sc trace.SpanContext, v interface{}) bool

SpanContextToMessageAttributes adds messages attributes from a span

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL