mock_peermanager

package
v0.5.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 7 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) BroadcastMessage added in v0.5.0

func (m *MockPeerManager) BroadcastMessage(arg0 context.Context, arg1 drpc.Message, arg2 streampool.StreamPool) error

BroadcastMessage mocks base method.

func (*MockPeerManager) EXPECT

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

func (*MockPeerManager) GetNodePeers added in v0.2.15

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

GetNodePeers mocks base method.

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.

type MockPeerManagerMockRecorder

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

MockPeerManagerMockRecorder is the mock recorder for MockPeerManager.

func (*MockPeerManagerMockRecorder) BroadcastMessage added in v0.5.0

func (mr *MockPeerManagerMockRecorder) BroadcastMessage(arg0, arg1, arg2 any) *gomock.Call

BroadcastMessage indicates an expected call of BroadcastMessage.

func (*MockPeerManagerMockRecorder) GetNodePeers added in v0.2.15

func (mr *MockPeerManagerMockRecorder) GetNodePeers(arg0 any) *gomock.Call

GetNodePeers indicates an expected call of GetNodePeers.

func (*MockPeerManagerMockRecorder) GetResponsiblePeers

func (mr *MockPeerManagerMockRecorder) GetResponsiblePeers(arg0 any) *gomock.Call

GetResponsiblePeers indicates an expected call of GetResponsiblePeers.

func (*MockPeerManagerMockRecorder) Init added in v0.2.0

func (mr *MockPeerManagerMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockPeerManagerMockRecorder) Name added in v0.2.0

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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