mock_p2p

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

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

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) Send

func (m *MockFeed) Send(arg0 interface{}) int

Send mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL