pexlist

package
v0.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PEXList

type PEXList struct {
	// contains filtered or unexported fields
}

func New

func New() *PEXList

func (*PEXList) Add

func (l *PEXList) Add(addr *net.TCPAddr)

func (*PEXList) Drop

func (l *PEXList) Drop(addr *net.TCPAddr)

func (*PEXList) Flush

func (l *PEXList) Flush() (added, dropped string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL