blacklist

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoOpBlacklist = func(uuid string) (bool, error) { return false, nil }

Functions

This section is empty.

Types

type IsBlacklisted

type IsBlacklisted func(uuid string) (bool, error)

IsBlacklisted filter function

func NewFileBasedBlacklist

func NewFileBasedBlacklist(file string) (IsBlacklisted, error)

NewFileBasedBlacklist returns a function of type Blacklist which will cross-check uuids against a file based blacklist

Jump to

Keyboard shortcuts

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