pexlist

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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