Documentation ¶ Index ¶ type Filters func NewFilters() *Filters func (fs *Filters) AddDialFilter(f *net.IPNet) func (f *Filters) AddrBlocked(a ma.Multiaddr) bool func (f *Filters) Filters() []*net.IPNet func (f *Filters) Remove(ff *net.IPNet) 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) Source Files ¶ View all Source files filter.go Click to show internal directories. Click to hide internal directories.