Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddrList ¶
type AddrList struct {
// contains filtered or unexported fields
}
AddrList contains peer addresses that are ready to be connected.
func (*AddrList) LenSource ¶ added in v0.2.0
func (d *AddrList) LenSource(s PeerSource) int
type PeerSource ¶ added in v0.2.0
type PeerSource int
const ( Tracker PeerSource = iota DHT PEX Manual )
Click to show internal directories.
Click to hide internal directories.