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) TestOneway( ctx context.Context, reqMeta yarpc.CallReqMeta, SecondsToSleep *int32, ) (transport.Ack, 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) }
Interface is a client for the ThriftTest service.
func New ¶
func New(c transport.ClientConfig, opts ...thrift.ClientOption) Interface
New builds a new client for the ThriftTest service.
client := thrifttestclient.New(dispatcher.ClientConfig("thrifttest"))
Click to show internal directories.
Click to hide internal directories.