Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source int
Source indicates how we found the Peer.
const ( // Tracker indicates that the peer is found from tracker by announcing the torrent. Tracker Source = iota // DHT indicates that the peer is found from DHT node. DHT // PEX indicates that the peer is found from another peer with PEX messages. PEX // Manual indicates that the peer is added manually by user. Manual // Incoming indicates that the peer found us. We did not found the peer. Incoming )
Click to show internal directories.
Click to hide internal directories.