Documentation ¶ Index ¶ type AddrList func New(maxItems int, blocklist *blocklist.Blocklist) *AddrList func (d *AddrList) Len() int func (d *AddrList) Pop() *net.TCPAddr func (d *AddrList) Push(addrs []*net.TCPAddr, listenPort int) func (d *AddrList) Reset() 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 } func New ¶ func New(maxItems int, blocklist *blocklist.Blocklist) *AddrList func (*AddrList) Len ¶ func (d *AddrList) Len() int func (*AddrList) Pop ¶ func (d *AddrList) Pop() *net.TCPAddr func (*AddrList) Push ¶ func (d *AddrList) Push(addrs []*net.TCPAddr, listenPort int) func (*AddrList) Reset ¶ func (d *AddrList) Reset() Source Files ¶ View all Source files addrlist.go Click to show internal directories. Click to hide internal directories.