# Functions
Connectedness returns an network.Connectedness associated with the Message_ConnectionType.
ConnectionType returns a Message_ConnectionType associated with the network.Connectedness.
NewMessage constructs a new dht message with given type, key, and level.
PBPeersToPeerInfos converts given []*Message_Peer into []peer.AddrInfo Invalid addresses will be silently omitted.
PBPeerToPeer turns a *Message_Peer into its peer.AddrInfo counterpart.
PeersToPBPeers converts given []peer.Peer into a set of []*Message_Peer, which can be written to a message and sent out.
No description provided by the author
RawPeerInfosToPBPeers converts a slice of Peers into a slice of *Message_Peers, ready to go out on the wire.
# Constants
No description provided by the author
sender recently connected to peer.
sender recently tried to connect to peer repeatedly but failed to connect ("try" here is loose, but this should signal "made strong effort, failed").
sender has a live connection to peer.
No description provided by the author
No description provided by the author
No description provided by the author
sender does not have a connection to peer, and no extra information (default).
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author