codec

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryDecode added in v1.9.3

func BinaryDecode(r io.Reader) (proxy.Span, error)

func BinaryEncode added in v1.9.3

func BinaryEncode(r proxy.Span, w io.Writer) error

func ParseJsonV1

func ParseJsonV1(input io.Reader) ([]proxy.Span, error)

func ParseJsonV2

func ParseJsonV2(input io.Reader) ([]proxy.Span, error)

func ParseThriftV1

func ParseThriftV1(body io.Reader) ([]proxy.Span, error)

Types

type ByteWriter added in v1.9.3

type ByteWriter interface {
	Grow(int)
	WriteByte(byte) error
}

type Id

type Id = proxy.Id

type StringWriter added in v1.9.3

type StringWriter interface {
	WriteString(string) (int, error)
}

Jump to

Keyboard shortcuts

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