blacklist

package
v0.0.0-...-a1dc72b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	IsBannedIPAddress(ipAddress string) bool
	IsBannedURL(url string) bool
}

Provider provides an interface for abstracting time.

func NewProvider

func NewProvider() Provider

NewProvider Provider contructor that returns the default time provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳