Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLength = 25
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PEXList ¶
type PEXList struct {
// contains filtered or unexported fields
}
func NewWithRecentlySeen ¶ added in v0.16.0
func NewWithRecentlySeen(rs []tracker.CompactPeer) *PEXList
type RecentlySeen ¶ added in v0.16.0
type RecentlySeen struct {
// contains filtered or unexported fields
}
func (*RecentlySeen) Add ¶ added in v0.16.0
func (l *RecentlySeen) Add(addr *net.TCPAddr)
func (*RecentlySeen) Len ¶ added in v0.16.0
func (l *RecentlySeen) Len() int
func (*RecentlySeen) Peers ¶ added in v0.16.0
func (l *RecentlySeen) Peers() []tracker.CompactPeer
Click to show internal directories.
Click to hide internal directories.