tracing

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Values

func Values(value interface{}) map[interface{}]interface{}

Values converts user data to arpc.Message's values

Types

type Tracer

type Tracer struct {
	opentracing.Tracer
	*coder.Appender
}

Tracer .

func NewTracer

func NewTracer(recorder basictracer.SpanRecorder) *Tracer

NewTracer .

func (*Tracer) BytesToValue

func (t *Tracer) BytesToValue(bytes []byte) (interface{}, error)

BytesToValue .

func (*Tracer) Extract

func (t *Tracer) Extract(format interface{}, opaqueCarrier interface{}) (opentracing.SpanContext, error)

Extract .

func (*Tracer) Inject

func (t *Tracer) Inject(sc opentracing.SpanContext, format interface{}, carrier interface{}) error

Inject .

func (*Tracer) ValueToBytes

func (t *Tracer) ValueToBytes(value interface{}) ([]byte, error)

ValueToBytes .

Jump to

Keyboard shortcuts

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