Documentation ¶
Overview ¶
Package mock_dispatcher is a generated GoMock package.
Index ¶
- type MockDispatcher
- func (m *MockDispatcher) EXPECT() *MockDispatcherMockRecorder
- func (m *MockDispatcher) HandleBroadcast(arg0 proto.Message, arg1 chan bool)
- func (m *MockDispatcher) HandleTell(arg0 net.Addr, arg1 proto.Message, arg2 chan bool)
- func (m *MockDispatcher) Start() error
- func (m *MockDispatcher) Stop() error
- type MockDispatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDispatcher ¶
type MockDispatcher struct {
// contains filtered or unexported fields
}
MockDispatcher is a mock of Dispatcher interface
func NewMockDispatcher ¶
func NewMockDispatcher(ctrl *gomock.Controller) *MockDispatcher
NewMockDispatcher creates a new mock instance
func (*MockDispatcher) EXPECT ¶
func (m *MockDispatcher) EXPECT() *MockDispatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDispatcher) HandleBroadcast ¶
func (m *MockDispatcher) HandleBroadcast(arg0 proto.Message, arg1 chan bool)
HandleBroadcast mocks base method
func (*MockDispatcher) HandleTell ¶
HandleTell mocks base method
type MockDispatcherMockRecorder ¶
type MockDispatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockDispatcherMockRecorder is the mock recorder for MockDispatcher
func (*MockDispatcherMockRecorder) HandleBroadcast ¶
func (mr *MockDispatcherMockRecorder) HandleBroadcast(arg0, arg1 interface{}) *gomock.Call
HandleBroadcast indicates an expected call of HandleBroadcast
func (*MockDispatcherMockRecorder) HandleTell ¶
func (mr *MockDispatcherMockRecorder) HandleTell(arg0, arg1, arg2 interface{}) *gomock.Call
HandleTell indicates an expected call of HandleTell
func (*MockDispatcherMockRecorder) Start ¶
func (mr *MockDispatcherMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockDispatcherMockRecorder) Stop ¶
func (mr *MockDispatcherMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
Click to show internal directories.
Click to hide internal directories.