Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBytes

func FromBytes(tracer opentracing.Tracer, request []byte) (opentracing.SpanContext, *transport.Request, error)

FromBytes decodes bytes into a opentracing.SpanContext and transport.Request

func ToBytes

func ToBytes(tracer opentracing.Tracer, spanContext opentracing.SpanContext, req *transport.Request) ([]byte, error)

ToBytes encodes an opentracing.SpanContext and transport.Request into bytes

Types

This section is empty.

Source Files

Directories

Path Synopsis