Versions in this module Expand all Collapse all v0 v0.10.0 Jul 24, 2024 Changes in this version + var PrintingHandler = &printingHandler + var SimpleHandler = &simpleHandler + func GetServerParams(host string, port int64, domain_socket string, transport string, ...) (thrift.TProcessor, thrift.TServerTransport, thrift.TTransportFactory, ...) + func StartClient(host string, port int64, domain_socket string, transport string, ...) (client *thrifttest.ThriftTestClient, err error) + type MockThriftTest struct + func NewMockThriftTest(ctrl *gomock.Controller) *MockThriftTest + func (_m *MockThriftTest) EXPECT() *_MockThriftTestRecorder + func (_m *MockThriftTest) TestBinary(_param0 []byte) ([]byte, error) + func (_m *MockThriftTest) TestBool(_param0 bool) (bool, error) + func (_m *MockThriftTest) TestByte(_param0 int8) (int8, error) + func (_m *MockThriftTest) TestDouble(_param0 float64) (float64, error) + func (_m *MockThriftTest) TestEnum(_param0 thrifttest.Numberz) (thrifttest.Numberz, error) + func (_m *MockThriftTest) TestException(_param0 string) error + func (_m *MockThriftTest) TestI32(_param0 int32) (int32, error) + func (_m *MockThriftTest) TestI64(_param0 int64) (int64, error) + func (_m *MockThriftTest) TestInsanity(_param0 *thrifttest.Insanity) (map[thrifttest.UserId]map[thrifttest.Numberz]*thrifttest.Insanity, error) + func (_m *MockThriftTest) TestList(_param0 []int32) ([]int32, error) + func (_m *MockThriftTest) TestMap(_param0 map[int32]int32) (map[int32]int32, error) + func (_m *MockThriftTest) TestMapMap(_param0 int32) (map[int32]map[int32]int32, error) + func (_m *MockThriftTest) TestMulti(_param0 int8, _param1 int32, _param2 int64, _param3 map[int16]string, ...) (*thrifttest.Xtruct, error) + func (_m *MockThriftTest) TestMultiException(_param0 string, _param1 string) (*thrifttest.Xtruct, error) + func (_m *MockThriftTest) TestNest(_param0 *thrifttest.Xtruct2) (*thrifttest.Xtruct2, error) + func (_m *MockThriftTest) TestOneway(_param0 int32) error + func (_m *MockThriftTest) TestSet(_param0 []int32) ([]int32, error) + func (_m *MockThriftTest) TestString(_param0 string) (string, error) + func (_m *MockThriftTest) TestStringMap(_param0 map[string]string) (map[string]string, error) + func (_m *MockThriftTest) TestStruct(_param0 *thrifttest.Xtruct) (*thrifttest.Xtruct, error) + func (_m *MockThriftTest) TestTypedef(_param0 thrifttest.UserId) (thrifttest.UserId, error) + func (_m *MockThriftTest) TestVoid() error