Documentation ¶
Index ¶
- Constants
- func ConnectToPeers(ctx context.Context, h host.Host, peers []multiaddr.Multiaddr) error
- func ConnectToPeersContinuously(ctx context.Context, cm *system.CleanupManager, h host.Host, ...) error
- func NewHost(port int, opts ...libp2p.Option) (host.Host, error)
- func NewHostForTest(ctx context.Context, peers ...host.Host) (host.Host, error)
Constants ¶
View Source
const ContinuouslyConnectPeersLoopDelaySeconds = 10
Variables ¶
This section is empty.
Functions ¶
func ConnectToPeers ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.