Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverOnce ¶
DiscoverOnce will run an mDNS query once and return a channel of peer addresses.
Types ¶
type DiscoveredPeer ¶
type DiscoveredPeer struct { ID peer.ID Addrs []multiaddr.Multiaddr ConnState network.Connectedness }
DiscoveredPeer is a peer that has been found in network discovery.
Click to show internal directories.
Click to hide internal directories.