blocklist

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blocklist

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

func New

func New() *Blocklist

func (*Blocklist) Blocked

func (b *Blocklist) Blocked(ip net.IP) bool

func (*Blocklist) Len added in v0.3.0

func (b *Blocklist) Len() int

func (*Blocklist) Reload

func (b *Blocklist) Reload(r io.Reader) (int, error)

Directories

Path Synopsis
Package stree implements a segment tree and serial algorithm to query intervals
Package stree implements a segment tree and serial algorithm to query intervals

Jump to

Keyboard shortcuts

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