package
Version:
v0.0.0-...-0cdd980
Opens a new window with list of versions in this module.
Published: Sep 10, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Blacklist struct {
Entries []*Entry
}
Blacklist defines a blacklist.
ParseData parses the blacklist from the data.
Match matches the name to blacklist entries and returns the match
or nil.
Entry implements a blacklist entry.
Block tests if the blacklist entry is a block entry.
Labels define DNS labels.
NewLabels creates new labels instance from the argument string.q
Match tests if the argument labels match this label instance.
ProxyCmd defines the actions from proxied URLs.
const (
ProxyBlock ProxyCmd = iota
ProxyVAST
ProxyGooglebot
)
Proxy actions.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.