blacklist

package
v0.0.0-...-9842712 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0, ISC, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BlacklistError = errors.New("blacklisted")
)

Functions

func Init

func Init(fileIP string, fileDom string)

func IsBlacklisted

func IsBlacklisted(ip net.IP) bool

func IsBlacklistedDom

func IsBlacklistedDom(dom string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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