Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P2pHostMock ¶
type P2pHostMock struct{}
P2pHostMock provides a mock P2PHost.
func (*P2pHostMock) Addrs ¶
func (hm *P2pHostMock) Addrs(id peer.ID) []multiaddr.Multiaddr
Addrs implements Addrs.
func (*P2pHostMock) GetAgentVersion ¶
func (hm *P2pHostMock) GetAgentVersion(id peer.ID) string
GetAgentVersion implements GetAgentVersion.
Click to show internal directories.
Click to hide internal directories.