ipreputation

package
v0.0.0-...-732ec5d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

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

Checker checks the reputation of IP addresses

func NewChecker

func NewChecker(ctx context.Context, log *log.Logger, endpoint string) (*Checker, error)

NewChecker initializes and returns a new Checker

func (*Checker) AddressInformation

func (c *Checker) AddressInformation(remoteAddress string) (bool, int, bool)

func (*Checker) EnqueueAddressForChecking

func (c *Checker) EnqueueAddressForChecking(remoteAddress string)

func (*Checker) Worker

func (c *Checker) Worker(ctx context.Context)

Jump to

Keyboard shortcuts

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