Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GossipMetricer ¶
GossipMetricer is an autogenerated mock type for the GossipMetricer type
func NewGossipMetricer ¶
func NewGossipMetricer(t mockConstructorTestingTNewGossipMetricer) *GossipMetricer
NewGossipMetricer creates a new instance of GossipMetricer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GossipMetricer) RecordGossipEvent ¶
func (_m *GossipMetricer) RecordGossipEvent(evType int32)
RecordGossipEvent provides a mock function with given fields: evType
type PeerGater ¶
PeerGater is an autogenerated mock type for the PeerGater type
func NewPeerGater ¶
func NewPeerGater(t mockConstructorTestingTNewPeerGater) *PeerGater
NewPeerGater creates a new instance of PeerGater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Peerstore ¶
Peerstore is an autogenerated mock type for the Peerstore type
func NewPeerstore ¶
func NewPeerstore(t mockConstructorTestingTNewPeerstore) *Peerstore
NewPeerstore creates a new instance of Peerstore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type ScoreMetrics ¶ added in v0.3.0
ScoreMetrics is an autogenerated mock type for the ScoreMetrics type
func NewScoreMetrics ¶ added in v0.3.0
func NewScoreMetrics(t mockConstructorTestingTNewScoreMetrics) *ScoreMetrics
NewScoreMetrics creates a new instance of ScoreMetrics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ScoreMetrics) SetPeerScores ¶ added in v0.3.0
func (_m *ScoreMetrics) SetPeerScores(_a0 []store.PeerScores)
SetPeerScores provides a mock function with given fields: _a0