Documentation ¶
Overview ¶
Package mock_p2p is a generated GoMock package.
Package mock_p2p is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBroadcaster ¶
type MockBroadcaster struct {
// contains filtered or unexported fields
}
MockBroadcaster is a mock of Broadcaster interface
func NewMockBroadcaster ¶
func NewMockBroadcaster(ctrl *gomock.Controller) *MockBroadcaster
NewMockBroadcaster creates a new mock instance
func (*MockBroadcaster) Broadcast ¶
func (m *MockBroadcaster) Broadcast(arg0 proto.Message)
Broadcast mocks base method
func (*MockBroadcaster) EXPECT ¶
func (m *MockBroadcaster) EXPECT() *MockBroadcasterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBroadcasterMockRecorder ¶
type MockBroadcasterMockRecorder struct {
// contains filtered or unexported fields
}
MockBroadcasterMockRecorder is the mock recorder for MockBroadcaster
func (*MockBroadcasterMockRecorder) Broadcast ¶
func (mr *MockBroadcasterMockRecorder) Broadcast(arg0 interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast
type MockFeed ¶
type MockFeed struct {
// contains filtered or unexported fields
}
MockFeed is a mock of Feed interface
func NewMockFeed ¶
func NewMockFeed(ctrl *gomock.Controller) *MockFeed
NewMockFeed creates a new mock instance
func (*MockFeed) EXPECT ¶
func (m *MockFeed) EXPECT() *MockFeedMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFeed) Subscribe ¶
func (m *MockFeed) Subscribe(arg0 interface{}) event.Subscription
Subscribe mocks base method
type MockFeedMockRecorder ¶
type MockFeedMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedMockRecorder is the mock recorder for MockFeed
func (*MockFeedMockRecorder) Send ¶
func (mr *MockFeedMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockFeedMockRecorder) Subscribe ¶
func (mr *MockFeedMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe