Documentation ¶
Overview ¶
Package generic is a generated GoMock package.
Package generic is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMessageReader ¶
type MockMessageReader struct {
// contains filtered or unexported fields
}
MockMessageReader is a mock of MessageReader interface.
func NewMockMessageReader ¶
func NewMockMessageReader(ctrl *gomock.Controller) *MockMessageReader
NewMockMessageReader creates a new mock instance.
func (*MockMessageReader) EXPECT ¶
func (m *MockMessageReader) EXPECT() *MockMessageReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMessageReaderMockRecorder ¶
type MockMessageReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageReaderMockRecorder is the mock recorder for MockMessageReader.
func (*MockMessageReaderMockRecorder) Read ¶
func (mr *MockMessageReaderMockRecorder) Read(ctx, method, isClient, dataLen, in interface{}) *gomock.Call
Read indicates an expected call of Read.
type MockMessageWriter ¶
type MockMessageWriter struct {
// contains filtered or unexported fields
}
MockMessageWriter is a mock of MessageWriter interface.
func NewMockMessageWriter ¶
func NewMockMessageWriter(ctrl *gomock.Controller) *MockMessageWriter
NewMockMessageWriter creates a new mock instance.
func (*MockMessageWriter) EXPECT ¶
func (m *MockMessageWriter) EXPECT() *MockMessageWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMessageWriterMockRecorder ¶
type MockMessageWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageWriterMockRecorder is the mock recorder for MockMessageWriter.
func (*MockMessageWriterMockRecorder) Write ¶
func (mr *MockMessageWriterMockRecorder) Write(ctx, out, msg, method, isClient, requestBase interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GenericCall ¶
func (m *MockService) GenericCall(ctx context.Context, method string, request interface{}) (interface{}, error)
GenericCall mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) GenericCall ¶
func (mr *MockServiceMockRecorder) GenericCall(ctx, method, request interface{}) *gomock.Call
GenericCall indicates an expected call of GenericCall.
type MockWithCodec ¶
type MockWithCodec struct {
// contains filtered or unexported fields
}
MockWithCodec is a mock of WithCodec interface.
func NewMockWithCodec ¶
func NewMockWithCodec(ctrl *gomock.Controller) *MockWithCodec
NewMockWithCodec creates a new mock instance.
func (*MockWithCodec) EXPECT ¶
func (m *MockWithCodec) EXPECT() *MockWithCodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWithCodec) SetCodec ¶
func (m *MockWithCodec) SetCodec(codec interface{})
SetCodec mocks base method.
type MockWithCodecMockRecorder ¶
type MockWithCodecMockRecorder struct {
// contains filtered or unexported fields
}
MockWithCodecMockRecorder is the mock recorder for MockWithCodec.
func (*MockWithCodecMockRecorder) SetCodec ¶
func (mr *MockWithCodecMockRecorder) SetCodec(codec interface{}) *gomock.Call
SetCodec indicates an expected call of SetCodec.