thrift

package
v0.0.0-...-3667945 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 8 Imported by: 0

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