thrifttestclient

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	TestBinary(ctx context.Context, reqMeta yarpc.CallReqMeta, thing []byte) ([]byte, yarpc.CallResMeta, error)
	TestByte(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *int8) (int8, yarpc.CallResMeta, error)
	TestDouble(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *float64) (float64, yarpc.CallResMeta, error)
	TestEnum(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *gauntlet.Numberz) (gauntlet.Numberz, yarpc.CallResMeta, error)
	TestException(ctx context.Context, reqMeta yarpc.CallReqMeta, arg *string) (yarpc.CallResMeta, error)
	TestI32(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *int32) (int32, yarpc.CallResMeta, error)
	TestI64(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *int64) (int64, yarpc.CallResMeta, error)
	TestInsanity(ctx context.Context, reqMeta yarpc.CallReqMeta, argument *gauntlet.Insanity) (map[gauntlet.UserId]map[gauntlet.Numberz]*gauntlet.Insanity, yarpc.CallResMeta, error)
	TestList(ctx context.Context, reqMeta yarpc.CallReqMeta, thing []int32) ([]int32, yarpc.CallResMeta, error)
	TestMap(ctx context.Context, reqMeta yarpc.CallReqMeta, thing map[int32]int32) (map[int32]int32, yarpc.CallResMeta, error)
	TestMapMap(ctx context.Context, reqMeta yarpc.CallReqMeta, hello *int32) (map[int32]map[int32]int32, yarpc.CallResMeta, error)
	TestMulti(ctx context.Context, reqMeta yarpc.CallReqMeta, arg0 *int8, arg1 *int32, arg2 *int64, arg3 map[int16]string, arg4 *gauntlet.Numberz, arg5 *gauntlet.UserId) (*gauntlet.Xtruct, yarpc.CallResMeta, error)
	TestMultiException(ctx context.Context, reqMeta yarpc.CallReqMeta, arg0 *string, arg1 *string) (*gauntlet.Xtruct, yarpc.CallResMeta, error)
	TestNest(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *gauntlet.Xtruct2) (*gauntlet.Xtruct2, yarpc.CallResMeta, error)
	TestSet(ctx context.Context, reqMeta yarpc.CallReqMeta, thing map[int32]struct{}) (map[int32]struct{}, yarpc.CallResMeta, error)
	TestString(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *string) (string, yarpc.CallResMeta, error)
	TestStringMap(ctx context.Context, reqMeta yarpc.CallReqMeta, thing map[string]string) (map[string]string, yarpc.CallResMeta, error)
	TestStruct(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *gauntlet.Xtruct) (*gauntlet.Xtruct, yarpc.CallResMeta, error)
	TestTypedef(ctx context.Context, reqMeta yarpc.CallReqMeta, thing *gauntlet.UserId) (gauntlet.UserId, yarpc.CallResMeta, error)
	TestVoid(ctx context.Context, reqMeta yarpc.CallReqMeta) (yarpc.CallResMeta, error)
}

func New

Jump to

Keyboard shortcuts

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