thrift

package
v0.0.0-...-16a0e24 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 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