blacklist

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blacklist

type Blacklist struct {
	iptec.Сurator
	iptec.Cash
	iptec.WebClient
	// contains filtered or unexported fields
}

func New

func New() *Blacklist

func (*Blacklist) Activate

func (p *Blacklist) Activate() error

func (*Blacklist) Find

func (p *Blacklist) Find(address net.IP) (iptec.PluginReport, error)

func (*Blacklist) Name

func (p *Blacklist) Name() string

type Report added in v0.0.6

type Report struct {
	Lists []string `json:"lists"`
	// contains filtered or unexported fields
}

func (*Report) Points added in v0.0.6

func (r *Report) Points() int

Jump to

Keyboard shortcuts

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