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