Documentation ¶
Overview ¶
Package mockservice is a generated GoMock package.
Index ¶
- type MockEmitter
- func (m *MockEmitter) AddListener(arg0 string) (<-chan *grpc.Event, error)
- func (m *MockEmitter) Close()
- func (m *MockEmitter) EXPECT() *MockEmitterMockRecorder
- func (m *MockEmitter) Emit(arg0 *grpc.Event)
- func (m *MockEmitter) GetListenersCount(arg0 string) int
- func (m *MockEmitter) RemoveListener(arg0 <-chan *grpc.Event)
- type MockEmitterMockRecorder
- func (mr *MockEmitterMockRecorder) AddListener(arg0 interface{}) *gomock.Call
- func (mr *MockEmitterMockRecorder) Close() *gomock.Call
- func (mr *MockEmitterMockRecorder) Emit(arg0 interface{}) *gomock.Call
- func (mr *MockEmitterMockRecorder) GetListenersCount(arg0 interface{}) *gomock.Call
- func (mr *MockEmitterMockRecorder) RemoveListener(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEmitter ¶
type MockEmitter struct {
// contains filtered or unexported fields
}
MockEmitter is a mock of Emitter interface
func NewMockEmitter ¶
func NewMockEmitter(ctrl *gomock.Controller) *MockEmitter
NewMockEmitter creates a new mock instance
func (*MockEmitter) AddListener ¶
func (m *MockEmitter) AddListener(arg0 string) (<-chan *grpc.Event, error)
AddListener mocks base method
func (*MockEmitter) EXPECT ¶
func (m *MockEmitter) EXPECT() *MockEmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEmitter) GetListenersCount ¶
func (m *MockEmitter) GetListenersCount(arg0 string) int
GetListenersCount mocks base method
func (*MockEmitter) RemoveListener ¶
func (m *MockEmitter) RemoveListener(arg0 <-chan *grpc.Event)
RemoveListener mocks base method
type MockEmitterMockRecorder ¶
type MockEmitterMockRecorder struct {
// contains filtered or unexported fields
}
MockEmitterMockRecorder is the mock recorder for MockEmitter
func (*MockEmitterMockRecorder) AddListener ¶
func (mr *MockEmitterMockRecorder) AddListener(arg0 interface{}) *gomock.Call
AddListener indicates an expected call of AddListener
func (*MockEmitterMockRecorder) Close ¶
func (mr *MockEmitterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockEmitterMockRecorder) Emit ¶
func (mr *MockEmitterMockRecorder) Emit(arg0 interface{}) *gomock.Call
Emit indicates an expected call of Emit
func (*MockEmitterMockRecorder) GetListenersCount ¶
func (mr *MockEmitterMockRecorder) GetListenersCount(arg0 interface{}) *gomock.Call
GetListenersCount indicates an expected call of GetListenersCount
func (*MockEmitterMockRecorder) RemoveListener ¶
func (mr *MockEmitterMockRecorder) RemoveListener(arg0 interface{}) *gomock.Call
RemoveListener indicates an expected call of RemoveListener