Versions in this module Expand all Collapse all v0 v0.13.0 Oct 11, 2019 Changes in this version + type MockTProtocol struct + func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol + func (_m *MockTProtocol) EXPECT() *_MockTProtocolRecorder + func (_m *MockTProtocol) Flush(ctx context.Context) error + func (_m *MockTProtocol) ReadBinary() ([]byte, error) + func (_m *MockTProtocol) ReadBool() (bool, error) + func (_m *MockTProtocol) ReadByte() (int8, error) + func (_m *MockTProtocol) ReadDouble() (float64, error) + func (_m *MockTProtocol) ReadFieldBegin() (string, thrift.TType, int16, error) + func (_m *MockTProtocol) ReadFieldEnd() error + func (_m *MockTProtocol) ReadI16() (int16, error) + func (_m *MockTProtocol) ReadI32() (int32, error) + func (_m *MockTProtocol) ReadI64() (int64, error) + func (_m *MockTProtocol) ReadListBegin() (thrift.TType, int, error) + func (_m *MockTProtocol) ReadListEnd() error + func (_m *MockTProtocol) ReadMapBegin() (thrift.TType, thrift.TType, int, error) + func (_m *MockTProtocol) ReadMapEnd() error + func (_m *MockTProtocol) ReadMessageBegin() (string, thrift.TMessageType, int32, error) + func (_m *MockTProtocol) ReadMessageEnd() error + func (_m *MockTProtocol) ReadSetBegin() (thrift.TType, int, error) + func (_m *MockTProtocol) ReadSetEnd() error + func (_m *MockTProtocol) ReadString() (string, error) + func (_m *MockTProtocol) ReadStructBegin() (string, error) + func (_m *MockTProtocol) ReadStructEnd() error + func (_m *MockTProtocol) Skip(_param0 thrift.TType) error + func (_m *MockTProtocol) Transport() thrift.TTransport + func (_m *MockTProtocol) WriteBinary(_param0 []byte) error + func (_m *MockTProtocol) WriteBool(_param0 bool) error + func (_m *MockTProtocol) WriteByte(_param0 int8) error + func (_m *MockTProtocol) WriteDouble(_param0 float64) error + func (_m *MockTProtocol) WriteFieldBegin(_param0 string, _param1 thrift.TType, _param2 int16) error + func (_m *MockTProtocol) WriteFieldEnd() error + func (_m *MockTProtocol) WriteFieldStop() error + func (_m *MockTProtocol) WriteI16(_param0 int16) error + func (_m *MockTProtocol) WriteI32(_param0 int32) error + func (_m *MockTProtocol) WriteI64(_param0 int64) error + func (_m *MockTProtocol) WriteListBegin(_param0 thrift.TType, _param1 int) error + func (_m *MockTProtocol) WriteListEnd() error + func (_m *MockTProtocol) WriteMapBegin(_param0 thrift.TType, _param1 thrift.TType, _param2 int) error + func (_m *MockTProtocol) WriteMapEnd() error + func (_m *MockTProtocol) WriteMessageBegin(_param0 string, _param1 thrift.TMessageType, _param2 int32) error + func (_m *MockTProtocol) WriteMessageEnd() error + func (_m *MockTProtocol) WriteSetBegin(_param0 thrift.TType, _param1 int) error + func (_m *MockTProtocol) WriteSetEnd() error + func (_m *MockTProtocol) WriteString(_param0 string) error + func (_m *MockTProtocol) WriteStructBegin(_param0 string) error + func (_m *MockTProtocol) WriteStructEnd() error + type SecondServiceHandler struct + func NewSecondServiceHandler() *SecondServiceHandler + func (p *SecondServiceHandler) BlahBlah(ctx context.Context) (err error) + func (p *SecondServiceHandler) SecondtestString(ctx context.Context, thing string) (r string, err error) + type ThriftTestDriver struct + func NewThriftTestDriver(t *testing.T, client thrifttest.ThriftTest) *ThriftTestDriver + func (p *ThriftTestDriver) Start() + type ThriftTestHandler struct + func NewThriftTestHandler() *ThriftTestHandler + func (p *ThriftTestHandler) TestBinary(ctx context.Context, thing []byte) (r []byte, err error) + func (p *ThriftTestHandler) TestBool(ctx context.Context, thing bool) (r bool, err error) + func (p *ThriftTestHandler) TestByte(ctx context.Context, thing int8) (r int8, err error) + func (p *ThriftTestHandler) TestDouble(ctx context.Context, thing float64) (r float64, err error) + func (p *ThriftTestHandler) TestEnum(ctx context.Context, thing thrifttest.Numberz) (r thrifttest.Numberz, err error) + func (p *ThriftTestHandler) TestException(ctx context.Context, arg string) (err error) + func (p *ThriftTestHandler) TestI32(ctx context.Context, thing int32) (r int32, err error) + func (p *ThriftTestHandler) TestI64(ctx context.Context, thing int64) (r int64, err error) + func (p *ThriftTestHandler) TestInsanity(ctx context.Context, argument *thrifttest.Insanity) (r map[thrifttest.UserId]map[thrifttest.Numberz]*thrifttest.Insanity, err error) + func (p *ThriftTestHandler) TestList(ctx context.Context, thing []int32) (r []int32, err error) + func (p *ThriftTestHandler) TestMap(ctx context.Context, thing map[int32]int32) (r map[int32]int32, err error) + func (p *ThriftTestHandler) TestMapMap(ctx context.Context, hello int32) (r map[int32]map[int32]int32, err error) + func (p *ThriftTestHandler) TestMulti(ctx context.Context, arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, ...) (r *thrifttest.Xtruct, err error) + func (p *ThriftTestHandler) TestMultiException(ctx context.Context, arg0 string, arg1 string) (r *thrifttest.Xtruct, err error) + func (p *ThriftTestHandler) TestNest(ctx context.Context, thing *thrifttest.Xtruct2) (r *thrifttest.Xtruct2, err error) + func (p *ThriftTestHandler) TestOneway(ctx context.Context, secondsToSleep int32) (err error) + func (p *ThriftTestHandler) TestSet(ctx context.Context, thing []int32) (r []int32, err error) + func (p *ThriftTestHandler) TestString(ctx context.Context, thing string) (r string, err error) + func (p *ThriftTestHandler) TestStringMap(ctx context.Context, thing map[string]string) (r map[string]string, err error) + func (p *ThriftTestHandler) TestStruct(ctx context.Context, thing *thrifttest.Xtruct) (r *thrifttest.Xtruct, err error) + func (p *ThriftTestHandler) TestTypedef(ctx context.Context, thing thrifttest.UserId) (r thrifttest.UserId, err error) + func (p *ThriftTestHandler) TestVoid(ctx context.Context) (err error)