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.
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 ¶
func (m *MockgetPeers) EXPECT() *MockgetPeersMockRecorder
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.
Click to show internal directories.
Click to hide internal directories.