Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
Discoverer is an autogenerated mock type for the Discoverer type
func (*Discoverer) Lookup ¶ added in v0.5.0
func (_m *Discoverer) Lookup(ctx context.Context, opts ...peer.LookupOption) (<-chan *peer.Peer, error)
Lookup provides a mock function with given fields: ctx, opts
type PeerStorer ¶ added in v0.5.0
PeerStorer is an autogenerated mock type for the PeerStorer type
func (*PeerStorer) Add ¶ added in v0.5.0
func (_m *PeerStorer) Add(_a0 *peer.Peer, _a1 bool)
Add provides a mock function with given fields: _a0, _a1
func (*PeerStorer) AddDiscoverer ¶ added in v0.5.0
func (_m *PeerStorer) AddDiscoverer(_a0 discovery.Discoverer) error
AddDiscoverer provides a mock function with given fields: _a0
func (*PeerStorer) Lookup ¶ added in v0.5.0
func (_m *PeerStorer) Lookup(_a0 context.Context, _a1 ...peer.LookupOption) (<-chan *peer.Peer, error)
Lookup provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.