Documentation ¶
Overview ¶
Package mockgrpc is a generated GoMock package.
Index ¶
- type MockPing_PingServer
- func (m *MockPing_PingServer) Context() context.Context
- func (m *MockPing_PingServer) EXPECT() *MockPing_PingServerMockRecorder
- func (m *MockPing_PingServer) RecvMsg(arg0 interface{}) error
- func (m *MockPing_PingServer) Send(arg0 *grpc.Response) error
- func (m *MockPing_PingServer) SendHeader(arg0 metadata.MD) error
- func (m *MockPing_PingServer) SendMsg(arg0 interface{}) error
- func (m *MockPing_PingServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPing_PingServer) SetTrailer(arg0 metadata.MD)
- type MockPing_PingServerMockRecorder
- func (mr *MockPing_PingServerMockRecorder) Context() *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockPing_PingServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPing_PingServer ¶
type MockPing_PingServer struct {
// contains filtered or unexported fields
}
MockPing_PingServer is a mock of Ping_PingServer interface
func NewMockPing_PingServer ¶
func NewMockPing_PingServer(ctrl *gomock.Controller) *MockPing_PingServer
NewMockPing_PingServer creates a new mock instance
func (*MockPing_PingServer) Context ¶
func (m *MockPing_PingServer) Context() context.Context
Context mocks base method
func (*MockPing_PingServer) EXPECT ¶
func (m *MockPing_PingServer) EXPECT() *MockPing_PingServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPing_PingServer) RecvMsg ¶
func (m *MockPing_PingServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockPing_PingServer) Send ¶
func (m *MockPing_PingServer) Send(arg0 *grpc.Response) error
Send mocks base method
func (*MockPing_PingServer) SendHeader ¶
func (m *MockPing_PingServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockPing_PingServer) SendMsg ¶
func (m *MockPing_PingServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockPing_PingServer) SetHeader ¶
func (m *MockPing_PingServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockPing_PingServer) SetTrailer ¶
func (m *MockPing_PingServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockPing_PingServerMockRecorder ¶
type MockPing_PingServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPing_PingServerMockRecorder is the mock recorder for MockPing_PingServer
func (*MockPing_PingServerMockRecorder) Context ¶
func (mr *MockPing_PingServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockPing_PingServerMockRecorder) RecvMsg ¶
func (mr *MockPing_PingServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockPing_PingServerMockRecorder) Send ¶
func (mr *MockPing_PingServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockPing_PingServerMockRecorder) SendHeader ¶
func (mr *MockPing_PingServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockPing_PingServerMockRecorder) SendMsg ¶
func (mr *MockPing_PingServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockPing_PingServerMockRecorder) SetHeader ¶
func (mr *MockPing_PingServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockPing_PingServerMockRecorder) SetTrailer ¶
func (mr *MockPing_PingServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer