filter

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filters

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

func NewFilters

func NewFilters() *Filters

func (*Filters) AddDialFilter

func (fs *Filters) AddDialFilter(f *net.IPNet)

func (*Filters) AddrBlocked

func (f *Filters) AddrBlocked(a ma.Multiaddr) bool

func (*Filters) Filters

func (f *Filters) Filters() []*net.IPNet

func (*Filters) Remove

func (f *Filters) Remove(ff *net.IPNet)

Jump to

Keyboard shortcuts

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