thrift

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalThrift

func UnmarshalThrift(body []byte) ([]*zipkincore.Span, error)

UnmarshalThrift converts raw bytes in thrift format to a slice of spans

Types

type Thrift

type Thrift struct{}

Thrift decodes binary data to create a Trace

func (*Thrift) Decode

func (t *Thrift) Decode(octets []byte) ([]codec.Span, error)

Decode unmarshals and validates bytes in thrift format

Jump to

Keyboard shortcuts

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