test

package
v0.0.0-...-9b5a675 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Combinations = []Combination{
	binary, binaryEncoderDecoder, compact, compactEncoderDecoder,
}
View Source
var MarshalCombinations = UnmarshalCombinations
View Source
var UnmarshalCombinations = append(Combinations,
	binaryDynamic, compactDynamic)

Functions

This section is empty.

Types

type Combination

type Combination struct {
	CreateProtocol func() (*thrift.TMemoryBuffer, thrift.TProtocol)
	CreateStream   func() spi.Stream
	CreateIterator func(buf []byte) spi.Iterator
	Unmarshal      func(buf []byte, val interface{}) error
	Marshal        func(val interface{}) ([]byte, error)
}

Jump to

Keyboard shortcuts

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