Versions in this module Expand all Collapse all v0 v0.10.0 Aug 8, 2020 Changes in this version + const MaxBackoffSecs + const MaxConnAttempts + func ReconnectCB(node *Node, cfg *Config) func(network.Network, network.Conn) + type Config struct + BootstrapPeers []multiaddr.Multiaddr + HandlerProtocolIDs []protocol.ID + ListenAddrs []string + PSK pnet.PSK + PrivKey crypto.PrivKey + Rendezvous []string + StreamHandlers []network.StreamHandler + func NewConfig() Config + type Node struct + Close context.CancelFunc + Ctx context.Context + DHT *dht.IpfsDHT + Host host.Host + NetworkCallbacks *network.NotifyBundle + RoutingDiscovery *discovery.RoutingDiscovery + func NewNode(ctx context.Context, config Config) (Node, error) + func (node *Node) Advertise(rendezvous string) error