Documentation ¶
Index ¶
- func Multiaddr(id peer.ID) multiaddr.Multiaddr
- func NewClock(ctrl *gomock.Controller, accuracy time.Duration, onTick func(t time.Time)) *mock_mx.MockClockController
- func NewHost(ctrl *gomock.Controller) *mock_libp2p.MockHost
- func NewHostFactory(ctrl *gomock.Controller) *mock_mx.MockHostFactory
- func NewID() peer.ID
- func PeerID() peer.ID
- func RandInfo() *peer.AddrInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClock ¶
func NewClock(ctrl *gomock.Controller, accuracy time.Duration, onTick func(t time.Time)) *mock_mx.MockClockController
func NewHost ¶
func NewHost(ctrl *gomock.Controller) *mock_libp2p.MockHost
func NewHostFactory ¶
func NewHostFactory(ctrl *gomock.Controller) *mock_mx.MockHostFactory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.