blacklists

package
v0.0.0-...-c5bcced Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

The check/blacklists package checks whether an IP is present in any blacklists.

var lib = require('check/blacklists');
var res = lib.check('212.227.126.135');
console.log(res);

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(orb *orbit.Orbit) interface{}

Types

type Check

type Check struct {
	Listed    bool   `console:"listed" codec:"listed"`
	Timeout   bool   `console:"timeout" codec:"timeout"`
	Blacklist string `console:"blacklist" codec:"blacklist"`
}

type Module

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

func (*Module) Check

func (this *Module) Check(addr string) (checks []*Check)

Jump to

Keyboard shortcuts

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