package
0.0.0-20240830133219-8113fd3926e8
Repository: https://github.com/loozhengyuan/blt.git
Documentation: pkg.go.dev
# Packages
Package spec defines the specification of a blocklist.
# Functions
NewFQDNParser returns the pointer to a new FQDNParser.
NewIPParser returns the pointer to a new IPParser.
NewListSource returns the pointer to a new ListSource.
NewManifest returns the pointer to a new Manifest.
NewManifestFromV1Spec returns a new Manifest from a configuration spec.
NewURLSource returns the pointer to a new URLSource.
# Constants
Enum types for the type of a blocklist.
Enum types for the type of a blocklist.
Default null value.
No description provided by the author
No description provided by the author
# Structs
Export represents a generated blocklist.
FQDNParser is a parser that returns matched patterns of fully-qualified domain names.
IPParser is a parser that returns matched patterns of IP addresses.
ListSource represents a simple list implementation of the Source interface.
Manifest represents the specification for generating a blocklist.
URLSource represents an external URL source.
# Type aliases
Kind represents the type of a blocklist.