mocks

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTime

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

MockTime is a mock of Time interface.

func NewMockTime

func NewMockTime(ctrl *gomock.Controller) *MockTime

NewMockTime creates a new mock instance.

func (*MockTime) EXPECT

func (m *MockTime) EXPECT() *MockTimeMockRecorder

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

func (*MockTime) Now

func (m *MockTime) Now() time.Time

Now mocks base method.

type MockTimeMockRecorder

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

MockTimeMockRecorder is the mock recorder for MockTime.

func (*MockTimeMockRecorder) Now

func (mr *MockTimeMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

type MockgetPeers

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

MockgetPeers is a mock of getPeers interface.

func NewMockgetPeers

func NewMockgetPeers(ctrl *gomock.Controller) *MockgetPeers

NewMockgetPeers creates a new mock instance.

func (*MockgetPeers) EXPECT

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

func (*MockgetPeers) GetPeers

func (m *MockgetPeers) GetPeers() []p2p.Peer

GetPeers mocks base method.

type MockgetPeersMockRecorder

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

MockgetPeersMockRecorder is the mock recorder for MockgetPeers.

func (*MockgetPeersMockRecorder) GetPeers

func (mr *MockgetPeersMockRecorder) GetPeers() *gomock.Call

GetPeers indicates an expected call of GetPeers.

Jump to

Keyboard shortcuts

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