mock_peermanager

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_peermanager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPeerManager

type MockPeerManager struct {
	// contains filtered or unexported fields
}

MockPeerManager is a mock of PeerManager interface.

func NewMockPeerManager

func NewMockPeerManager(ctrl *gomock.Controller) *MockPeerManager

NewMockPeerManager creates a new mock instance.

func (*MockPeerManager) Broadcast

Broadcast mocks base method.

func (*MockPeerManager) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPeerManager) GetResponsiblePeers

func (m *MockPeerManager) GetResponsiblePeers(arg0 context.Context) ([]peer.Peer, error)

GetResponsiblePeers mocks base method.

func (*MockPeerManager) Init added in v0.2.0

func (m *MockPeerManager) Init(arg0 *app.App) error

Init mocks base method.

func (*MockPeerManager) Name added in v0.2.0

func (m *MockPeerManager) Name() string

Name mocks base method.

func (*MockPeerManager) SendPeer

SendPeer mocks base method.

type MockPeerManagerMockRecorder

type MockPeerManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPeerManagerMockRecorder is the mock recorder for MockPeerManager.

func (*MockPeerManagerMockRecorder) Broadcast

func (mr *MockPeerManagerMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call

Broadcast indicates an expected call of Broadcast.

func (*MockPeerManagerMockRecorder) GetResponsiblePeers

func (mr *MockPeerManagerMockRecorder) GetResponsiblePeers(arg0 interface{}) *gomock.Call

GetResponsiblePeers indicates an expected call of GetResponsiblePeers.

func (*MockPeerManagerMockRecorder) Init added in v0.2.0

func (mr *MockPeerManagerMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockPeerManagerMockRecorder) Name added in v0.2.0

Name indicates an expected call of Name.

func (*MockPeerManagerMockRecorder) SendPeer

func (mr *MockPeerManagerMockRecorder) SendPeer(arg0, arg1, arg2 interface{}) *gomock.Call

SendPeer indicates an expected call of SendPeer.

Jump to

Keyboard shortcuts

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