Documentation ¶
Overview ¶
Package tests is a generated GoMock package.
Index ¶
- type MockTProtocol
- func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder
- func (m *MockTProtocol) Flush(arg0 context.Context) error
- func (m *MockTProtocol) ReadBinary(arg0 context.Context) ([]byte, error)
- func (m *MockTProtocol) ReadBool(arg0 context.Context) (bool, error)
- func (m *MockTProtocol) ReadByte(arg0 context.Context) (int8, error)
- func (m *MockTProtocol) ReadDouble(arg0 context.Context) (float64, error)
- func (m *MockTProtocol) ReadFieldBegin(arg0 context.Context) (string, thrift.TType, int16, error)
- func (m *MockTProtocol) ReadFieldEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadI16(arg0 context.Context) (int16, error)
- func (m *MockTProtocol) ReadI32(arg0 context.Context) (int32, error)
- func (m *MockTProtocol) ReadI64(arg0 context.Context) (int64, error)
- func (m *MockTProtocol) ReadListBegin(arg0 context.Context) (thrift.TType, int, error)
- func (m *MockTProtocol) ReadListEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadMapBegin(arg0 context.Context) (thrift.TType, thrift.TType, int, error)
- func (m *MockTProtocol) ReadMapEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadMessageBegin(arg0 context.Context) (string, thrift.TMessageType, int32, error)
- func (m *MockTProtocol) ReadMessageEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadSetBegin(arg0 context.Context) (thrift.TType, int, error)
- func (m *MockTProtocol) ReadSetEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadString(arg0 context.Context) (string, error)
- func (m *MockTProtocol) ReadStructBegin(arg0 context.Context) (string, error)
- func (m *MockTProtocol) ReadStructEnd(arg0 context.Context) error
- func (m *MockTProtocol) ReadUUID(arg0 context.Context) (thrift.Tuuid, error)
- func (m *MockTProtocol) Skip(arg0 context.Context, arg1 thrift.TType) error
- func (m *MockTProtocol) Transport() thrift.TTransport
- func (m *MockTProtocol) WriteBinary(arg0 context.Context, arg1 []byte) error
- func (m *MockTProtocol) WriteBool(arg0 context.Context, arg1 bool) error
- func (m *MockTProtocol) WriteByte(arg0 context.Context, arg1 int8) error
- func (m *MockTProtocol) WriteDouble(arg0 context.Context, arg1 float64) error
- func (m *MockTProtocol) WriteFieldBegin(arg0 context.Context, arg1 string, arg2 thrift.TType, arg3 int16) error
- func (m *MockTProtocol) WriteFieldEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteFieldStop(arg0 context.Context) error
- func (m *MockTProtocol) WriteI16(arg0 context.Context, arg1 int16) error
- func (m *MockTProtocol) WriteI32(arg0 context.Context, arg1 int32) error
- func (m *MockTProtocol) WriteI64(arg0 context.Context, arg1 int64) error
- func (m *MockTProtocol) WriteListBegin(arg0 context.Context, arg1 thrift.TType, arg2 int) error
- func (m *MockTProtocol) WriteListEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteMapBegin(arg0 context.Context, arg1, arg2 thrift.TType, arg3 int) error
- func (m *MockTProtocol) WriteMapEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteMessageBegin(arg0 context.Context, arg1 string, arg2 thrift.TMessageType, arg3 int32) error
- func (m *MockTProtocol) WriteMessageEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteSetBegin(arg0 context.Context, arg1 thrift.TType, arg2 int) error
- func (m *MockTProtocol) WriteSetEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteString(arg0 context.Context, arg1 string) error
- func (m *MockTProtocol) WriteStructBegin(arg0 context.Context, arg1 string) error
- func (m *MockTProtocol) WriteStructEnd(arg0 context.Context) error
- func (m *MockTProtocol) WriteUUID(arg0 context.Context, arg1 thrift.Tuuid) error
- type MockTProtocolMockRecorder
- func (mr *MockTProtocolMockRecorder) Flush(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadBinary(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadBool(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadByte(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadDouble(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadFieldBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadFieldEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadI16(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadI32(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadI64(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadListBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadListEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadMapBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadMapEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadMessageBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadMessageEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadSetBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadSetEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadString(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadStructBegin(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadStructEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) ReadUUID(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) Skip(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) Transport() *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteBinary(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteBool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteByte(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteDouble(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteFieldBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteFieldEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteFieldStop(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteI16(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteI32(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteI64(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteListBegin(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteListEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteMapBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteMapEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteMessageBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteMessageEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteSetBegin(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteSetEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteString(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteStructBegin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteStructEnd(arg0 interface{}) *gomock.Call
- func (mr *MockTProtocolMockRecorder) WriteUUID(arg0, arg1 interface{}) *gomock.Call
- type SecondServiceHandler
- type ThriftTestDriver
- type 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) TestUuid(ctx context.Context, thing thrift.Tuuid) (r thrift.Tuuid, err error)
- func (p *ThriftTestHandler) TestVoid(ctx context.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTProtocol ¶
type MockTProtocol struct {
// contains filtered or unexported fields
}
MockTProtocol is a mock of TProtocol interface.
func NewMockTProtocol ¶
func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol
NewMockTProtocol creates a new mock instance.
func (*MockTProtocol) EXPECT ¶
func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTProtocol) Flush ¶
func (m *MockTProtocol) Flush(arg0 context.Context) error
Flush mocks base method.
func (*MockTProtocol) ReadBinary ¶
func (m *MockTProtocol) ReadBinary(arg0 context.Context) ([]byte, error)
ReadBinary mocks base method.
func (*MockTProtocol) ReadBool ¶
func (m *MockTProtocol) ReadBool(arg0 context.Context) (bool, error)
ReadBool mocks base method.
func (*MockTProtocol) ReadByte ¶
func (m *MockTProtocol) ReadByte(arg0 context.Context) (int8, error)
ReadByte mocks base method.
func (*MockTProtocol) ReadDouble ¶
func (m *MockTProtocol) ReadDouble(arg0 context.Context) (float64, error)
ReadDouble mocks base method.
func (*MockTProtocol) ReadFieldBegin ¶
ReadFieldBegin mocks base method.
func (*MockTProtocol) ReadFieldEnd ¶
func (m *MockTProtocol) ReadFieldEnd(arg0 context.Context) error
ReadFieldEnd mocks base method.
func (*MockTProtocol) ReadI16 ¶
func (m *MockTProtocol) ReadI16(arg0 context.Context) (int16, error)
ReadI16 mocks base method.
func (*MockTProtocol) ReadI32 ¶
func (m *MockTProtocol) ReadI32(arg0 context.Context) (int32, error)
ReadI32 mocks base method.
func (*MockTProtocol) ReadI64 ¶
func (m *MockTProtocol) ReadI64(arg0 context.Context) (int64, error)
ReadI64 mocks base method.
func (*MockTProtocol) ReadListBegin ¶
ReadListBegin mocks base method.
func (*MockTProtocol) ReadListEnd ¶
func (m *MockTProtocol) ReadListEnd(arg0 context.Context) error
ReadListEnd mocks base method.
func (*MockTProtocol) ReadMapBegin ¶
ReadMapBegin mocks base method.
func (*MockTProtocol) ReadMapEnd ¶
func (m *MockTProtocol) ReadMapEnd(arg0 context.Context) error
ReadMapEnd mocks base method.
func (*MockTProtocol) ReadMessageBegin ¶
func (m *MockTProtocol) ReadMessageBegin(arg0 context.Context) (string, thrift.TMessageType, int32, error)
ReadMessageBegin mocks base method.
func (*MockTProtocol) ReadMessageEnd ¶
func (m *MockTProtocol) ReadMessageEnd(arg0 context.Context) error
ReadMessageEnd mocks base method.
func (*MockTProtocol) ReadSetBegin ¶
ReadSetBegin mocks base method.
func (*MockTProtocol) ReadSetEnd ¶
func (m *MockTProtocol) ReadSetEnd(arg0 context.Context) error
ReadSetEnd mocks base method.
func (*MockTProtocol) ReadString ¶
func (m *MockTProtocol) ReadString(arg0 context.Context) (string, error)
ReadString mocks base method.
func (*MockTProtocol) ReadStructBegin ¶
func (m *MockTProtocol) ReadStructBegin(arg0 context.Context) (string, error)
ReadStructBegin mocks base method.
func (*MockTProtocol) ReadStructEnd ¶
func (m *MockTProtocol) ReadStructEnd(arg0 context.Context) error
ReadStructEnd mocks base method.
func (*MockTProtocol) Transport ¶
func (m *MockTProtocol) Transport() thrift.TTransport
Transport mocks base method.
func (*MockTProtocol) WriteBinary ¶
func (m *MockTProtocol) WriteBinary(arg0 context.Context, arg1 []byte) error
WriteBinary mocks base method.
func (*MockTProtocol) WriteBool ¶
func (m *MockTProtocol) WriteBool(arg0 context.Context, arg1 bool) error
WriteBool mocks base method.
func (*MockTProtocol) WriteByte ¶
func (m *MockTProtocol) WriteByte(arg0 context.Context, arg1 int8) error
WriteByte mocks base method.
func (*MockTProtocol) WriteDouble ¶
func (m *MockTProtocol) WriteDouble(arg0 context.Context, arg1 float64) error
WriteDouble mocks base method.
func (*MockTProtocol) WriteFieldBegin ¶
func (m *MockTProtocol) WriteFieldBegin(arg0 context.Context, arg1 string, arg2 thrift.TType, arg3 int16) error
WriteFieldBegin mocks base method.
func (*MockTProtocol) WriteFieldEnd ¶
func (m *MockTProtocol) WriteFieldEnd(arg0 context.Context) error
WriteFieldEnd mocks base method.
func (*MockTProtocol) WriteFieldStop ¶
func (m *MockTProtocol) WriteFieldStop(arg0 context.Context) error
WriteFieldStop mocks base method.
func (*MockTProtocol) WriteI16 ¶
func (m *MockTProtocol) WriteI16(arg0 context.Context, arg1 int16) error
WriteI16 mocks base method.
func (*MockTProtocol) WriteI32 ¶
func (m *MockTProtocol) WriteI32(arg0 context.Context, arg1 int32) error
WriteI32 mocks base method.
func (*MockTProtocol) WriteI64 ¶
func (m *MockTProtocol) WriteI64(arg0 context.Context, arg1 int64) error
WriteI64 mocks base method.
func (*MockTProtocol) WriteListBegin ¶
WriteListBegin mocks base method.
func (*MockTProtocol) WriteListEnd ¶
func (m *MockTProtocol) WriteListEnd(arg0 context.Context) error
WriteListEnd mocks base method.
func (*MockTProtocol) WriteMapBegin ¶
func (m *MockTProtocol) WriteMapBegin(arg0 context.Context, arg1, arg2 thrift.TType, arg3 int) error
WriteMapBegin mocks base method.
func (*MockTProtocol) WriteMapEnd ¶
func (m *MockTProtocol) WriteMapEnd(arg0 context.Context) error
WriteMapEnd mocks base method.
func (*MockTProtocol) WriteMessageBegin ¶
func (m *MockTProtocol) WriteMessageBegin(arg0 context.Context, arg1 string, arg2 thrift.TMessageType, arg3 int32) error
WriteMessageBegin mocks base method.
func (*MockTProtocol) WriteMessageEnd ¶
func (m *MockTProtocol) WriteMessageEnd(arg0 context.Context) error
WriteMessageEnd mocks base method.
func (*MockTProtocol) WriteSetBegin ¶
WriteSetBegin mocks base method.
func (*MockTProtocol) WriteSetEnd ¶
func (m *MockTProtocol) WriteSetEnd(arg0 context.Context) error
WriteSetEnd mocks base method.
func (*MockTProtocol) WriteString ¶
func (m *MockTProtocol) WriteString(arg0 context.Context, arg1 string) error
WriteString mocks base method.
func (*MockTProtocol) WriteStructBegin ¶
func (m *MockTProtocol) WriteStructBegin(arg0 context.Context, arg1 string) error
WriteStructBegin mocks base method.
func (*MockTProtocol) WriteStructEnd ¶
func (m *MockTProtocol) WriteStructEnd(arg0 context.Context) error
WriteStructEnd mocks base method.
type MockTProtocolMockRecorder ¶
type MockTProtocolMockRecorder struct {
// contains filtered or unexported fields
}
MockTProtocolMockRecorder is the mock recorder for MockTProtocol.
func (*MockTProtocolMockRecorder) Flush ¶
func (mr *MockTProtocolMockRecorder) Flush(arg0 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockTProtocolMockRecorder) ReadBinary ¶
func (mr *MockTProtocolMockRecorder) ReadBinary(arg0 interface{}) *gomock.Call
ReadBinary indicates an expected call of ReadBinary.
func (*MockTProtocolMockRecorder) ReadBool ¶
func (mr *MockTProtocolMockRecorder) ReadBool(arg0 interface{}) *gomock.Call
ReadBool indicates an expected call of ReadBool.
func (*MockTProtocolMockRecorder) ReadByte ¶
func (mr *MockTProtocolMockRecorder) ReadByte(arg0 interface{}) *gomock.Call
ReadByte indicates an expected call of ReadByte.
func (*MockTProtocolMockRecorder) ReadDouble ¶
func (mr *MockTProtocolMockRecorder) ReadDouble(arg0 interface{}) *gomock.Call
ReadDouble indicates an expected call of ReadDouble.
func (*MockTProtocolMockRecorder) ReadFieldBegin ¶
func (mr *MockTProtocolMockRecorder) ReadFieldBegin(arg0 interface{}) *gomock.Call
ReadFieldBegin indicates an expected call of ReadFieldBegin.
func (*MockTProtocolMockRecorder) ReadFieldEnd ¶
func (mr *MockTProtocolMockRecorder) ReadFieldEnd(arg0 interface{}) *gomock.Call
ReadFieldEnd indicates an expected call of ReadFieldEnd.
func (*MockTProtocolMockRecorder) ReadI16 ¶
func (mr *MockTProtocolMockRecorder) ReadI16(arg0 interface{}) *gomock.Call
ReadI16 indicates an expected call of ReadI16.
func (*MockTProtocolMockRecorder) ReadI32 ¶
func (mr *MockTProtocolMockRecorder) ReadI32(arg0 interface{}) *gomock.Call
ReadI32 indicates an expected call of ReadI32.
func (*MockTProtocolMockRecorder) ReadI64 ¶
func (mr *MockTProtocolMockRecorder) ReadI64(arg0 interface{}) *gomock.Call
ReadI64 indicates an expected call of ReadI64.
func (*MockTProtocolMockRecorder) ReadListBegin ¶
func (mr *MockTProtocolMockRecorder) ReadListBegin(arg0 interface{}) *gomock.Call
ReadListBegin indicates an expected call of ReadListBegin.
func (*MockTProtocolMockRecorder) ReadListEnd ¶
func (mr *MockTProtocolMockRecorder) ReadListEnd(arg0 interface{}) *gomock.Call
ReadListEnd indicates an expected call of ReadListEnd.
func (*MockTProtocolMockRecorder) ReadMapBegin ¶
func (mr *MockTProtocolMockRecorder) ReadMapBegin(arg0 interface{}) *gomock.Call
ReadMapBegin indicates an expected call of ReadMapBegin.
func (*MockTProtocolMockRecorder) ReadMapEnd ¶
func (mr *MockTProtocolMockRecorder) ReadMapEnd(arg0 interface{}) *gomock.Call
ReadMapEnd indicates an expected call of ReadMapEnd.
func (*MockTProtocolMockRecorder) ReadMessageBegin ¶
func (mr *MockTProtocolMockRecorder) ReadMessageBegin(arg0 interface{}) *gomock.Call
ReadMessageBegin indicates an expected call of ReadMessageBegin.
func (*MockTProtocolMockRecorder) ReadMessageEnd ¶
func (mr *MockTProtocolMockRecorder) ReadMessageEnd(arg0 interface{}) *gomock.Call
ReadMessageEnd indicates an expected call of ReadMessageEnd.
func (*MockTProtocolMockRecorder) ReadSetBegin ¶
func (mr *MockTProtocolMockRecorder) ReadSetBegin(arg0 interface{}) *gomock.Call
ReadSetBegin indicates an expected call of ReadSetBegin.
func (*MockTProtocolMockRecorder) ReadSetEnd ¶
func (mr *MockTProtocolMockRecorder) ReadSetEnd(arg0 interface{}) *gomock.Call
ReadSetEnd indicates an expected call of ReadSetEnd.
func (*MockTProtocolMockRecorder) ReadString ¶
func (mr *MockTProtocolMockRecorder) ReadString(arg0 interface{}) *gomock.Call
ReadString indicates an expected call of ReadString.
func (*MockTProtocolMockRecorder) ReadStructBegin ¶
func (mr *MockTProtocolMockRecorder) ReadStructBegin(arg0 interface{}) *gomock.Call
ReadStructBegin indicates an expected call of ReadStructBegin.
func (*MockTProtocolMockRecorder) ReadStructEnd ¶
func (mr *MockTProtocolMockRecorder) ReadStructEnd(arg0 interface{}) *gomock.Call
ReadStructEnd indicates an expected call of ReadStructEnd.
func (*MockTProtocolMockRecorder) ReadUUID ¶
func (mr *MockTProtocolMockRecorder) ReadUUID(arg0 interface{}) *gomock.Call
ReadUUID indicates an expected call of ReadUUID.
func (*MockTProtocolMockRecorder) Skip ¶
func (mr *MockTProtocolMockRecorder) Skip(arg0, arg1 interface{}) *gomock.Call
Skip indicates an expected call of Skip.
func (*MockTProtocolMockRecorder) Transport ¶
func (mr *MockTProtocolMockRecorder) Transport() *gomock.Call
Transport indicates an expected call of Transport.
func (*MockTProtocolMockRecorder) WriteBinary ¶
func (mr *MockTProtocolMockRecorder) WriteBinary(arg0, arg1 interface{}) *gomock.Call
WriteBinary indicates an expected call of WriteBinary.
func (*MockTProtocolMockRecorder) WriteBool ¶
func (mr *MockTProtocolMockRecorder) WriteBool(arg0, arg1 interface{}) *gomock.Call
WriteBool indicates an expected call of WriteBool.
func (*MockTProtocolMockRecorder) WriteByte ¶
func (mr *MockTProtocolMockRecorder) WriteByte(arg0, arg1 interface{}) *gomock.Call
WriteByte indicates an expected call of WriteByte.
func (*MockTProtocolMockRecorder) WriteDouble ¶
func (mr *MockTProtocolMockRecorder) WriteDouble(arg0, arg1 interface{}) *gomock.Call
WriteDouble indicates an expected call of WriteDouble.
func (*MockTProtocolMockRecorder) WriteFieldBegin ¶
func (mr *MockTProtocolMockRecorder) WriteFieldBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WriteFieldBegin indicates an expected call of WriteFieldBegin.
func (*MockTProtocolMockRecorder) WriteFieldEnd ¶
func (mr *MockTProtocolMockRecorder) WriteFieldEnd(arg0 interface{}) *gomock.Call
WriteFieldEnd indicates an expected call of WriteFieldEnd.
func (*MockTProtocolMockRecorder) WriteFieldStop ¶
func (mr *MockTProtocolMockRecorder) WriteFieldStop(arg0 interface{}) *gomock.Call
WriteFieldStop indicates an expected call of WriteFieldStop.
func (*MockTProtocolMockRecorder) WriteI16 ¶
func (mr *MockTProtocolMockRecorder) WriteI16(arg0, arg1 interface{}) *gomock.Call
WriteI16 indicates an expected call of WriteI16.
func (*MockTProtocolMockRecorder) WriteI32 ¶
func (mr *MockTProtocolMockRecorder) WriteI32(arg0, arg1 interface{}) *gomock.Call
WriteI32 indicates an expected call of WriteI32.
func (*MockTProtocolMockRecorder) WriteI64 ¶
func (mr *MockTProtocolMockRecorder) WriteI64(arg0, arg1 interface{}) *gomock.Call
WriteI64 indicates an expected call of WriteI64.
func (*MockTProtocolMockRecorder) WriteListBegin ¶
func (mr *MockTProtocolMockRecorder) WriteListBegin(arg0, arg1, arg2 interface{}) *gomock.Call
WriteListBegin indicates an expected call of WriteListBegin.
func (*MockTProtocolMockRecorder) WriteListEnd ¶
func (mr *MockTProtocolMockRecorder) WriteListEnd(arg0 interface{}) *gomock.Call
WriteListEnd indicates an expected call of WriteListEnd.
func (*MockTProtocolMockRecorder) WriteMapBegin ¶
func (mr *MockTProtocolMockRecorder) WriteMapBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WriteMapBegin indicates an expected call of WriteMapBegin.
func (*MockTProtocolMockRecorder) WriteMapEnd ¶
func (mr *MockTProtocolMockRecorder) WriteMapEnd(arg0 interface{}) *gomock.Call
WriteMapEnd indicates an expected call of WriteMapEnd.
func (*MockTProtocolMockRecorder) WriteMessageBegin ¶
func (mr *MockTProtocolMockRecorder) WriteMessageBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WriteMessageBegin indicates an expected call of WriteMessageBegin.
func (*MockTProtocolMockRecorder) WriteMessageEnd ¶
func (mr *MockTProtocolMockRecorder) WriteMessageEnd(arg0 interface{}) *gomock.Call
WriteMessageEnd indicates an expected call of WriteMessageEnd.
func (*MockTProtocolMockRecorder) WriteSetBegin ¶
func (mr *MockTProtocolMockRecorder) WriteSetBegin(arg0, arg1, arg2 interface{}) *gomock.Call
WriteSetBegin indicates an expected call of WriteSetBegin.
func (*MockTProtocolMockRecorder) WriteSetEnd ¶
func (mr *MockTProtocolMockRecorder) WriteSetEnd(arg0 interface{}) *gomock.Call
WriteSetEnd indicates an expected call of WriteSetEnd.
func (*MockTProtocolMockRecorder) WriteString ¶
func (mr *MockTProtocolMockRecorder) WriteString(arg0, arg1 interface{}) *gomock.Call
WriteString indicates an expected call of WriteString.
func (*MockTProtocolMockRecorder) WriteStructBegin ¶
func (mr *MockTProtocolMockRecorder) WriteStructBegin(arg0, arg1 interface{}) *gomock.Call
WriteStructBegin indicates an expected call of WriteStructBegin.
func (*MockTProtocolMockRecorder) WriteStructEnd ¶
func (mr *MockTProtocolMockRecorder) WriteStructEnd(arg0 interface{}) *gomock.Call
WriteStructEnd indicates an expected call of WriteStructEnd.
func (*MockTProtocolMockRecorder) WriteUUID ¶
func (mr *MockTProtocolMockRecorder) WriteUUID(arg0, arg1 interface{}) *gomock.Call
WriteUUID indicates an expected call of WriteUUID.
type SecondServiceHandler ¶
type SecondServiceHandler struct { }
func NewSecondServiceHandler ¶
func NewSecondServiceHandler() *SecondServiceHandler
func (*SecondServiceHandler) BlahBlah ¶
func (p *SecondServiceHandler) BlahBlah(ctx context.Context) (err error)
func (*SecondServiceHandler) SecondtestString ¶
type ThriftTestDriver ¶
type ThriftTestDriver struct {
// contains filtered or unexported fields
}
func NewThriftTestDriver ¶
func NewThriftTestDriver(t *testing.T, client thrifttest.ThriftTest) *ThriftTestDriver
func (*ThriftTestDriver) Start ¶
func (p *ThriftTestDriver) Start()
type ThriftTestHandler ¶
type ThriftTestHandler struct { }
func NewThriftTestHandler ¶
func NewThriftTestHandler() *ThriftTestHandler
func (*ThriftTestHandler) TestBinary ¶
func (*ThriftTestHandler) TestDouble ¶
func (*ThriftTestHandler) TestEnum ¶
func (p *ThriftTestHandler) TestEnum(ctx context.Context, thing thrifttest.Numberz) (r thrifttest.Numberz, err error)
func (*ThriftTestHandler) TestException ¶
func (p *ThriftTestHandler) TestException(ctx context.Context, arg string) (err error)
func (*ThriftTestHandler) TestInsanity ¶
func (p *ThriftTestHandler) TestInsanity(ctx context.Context, argument *thrifttest.Insanity) (r map[thrifttest.UserId]map[thrifttest.Numberz]*thrifttest.Insanity, err error)
func (*ThriftTestHandler) TestMapMap ¶
func (*ThriftTestHandler) TestMulti ¶
func (p *ThriftTestHandler) TestMulti(ctx context.Context, arg0 int8, arg1 int32, arg2 int64, arg3 map[int16]string, arg4 thrifttest.Numberz, arg5 thrifttest.UserId) (r *thrifttest.Xtruct, err error)
func (*ThriftTestHandler) TestMultiException ¶
func (p *ThriftTestHandler) TestMultiException(ctx context.Context, arg0 string, arg1 string) (r *thrifttest.Xtruct, err error)
func (*ThriftTestHandler) TestNest ¶
func (p *ThriftTestHandler) TestNest(ctx context.Context, thing *thrifttest.Xtruct2) (r *thrifttest.Xtruct2, err error)
func (*ThriftTestHandler) TestOneway ¶
func (p *ThriftTestHandler) TestOneway(ctx context.Context, secondsToSleep int32) (err error)
func (*ThriftTestHandler) TestString ¶
func (*ThriftTestHandler) TestStringMap ¶
func (*ThriftTestHandler) TestStruct ¶
func (p *ThriftTestHandler) TestStruct(ctx context.Context, thing *thrifttest.Xtruct) (r *thrifttest.Xtruct, err error)
func (*ThriftTestHandler) TestTypedef ¶
func (p *ThriftTestHandler) TestTypedef(ctx context.Context, thing thrifttest.UserId) (r thrifttest.UserId, err error)