Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFqdnHostnameNotValid = errors.New("fqdn hostname is not valid")
)
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { // FqdnHostnames is a list of fully qualified domain names // to filter out. FqdnHostnames []string // IPs is a list of IP addresses to filter out. IPs []netip.Addr // IPPrefixes is a list of IP prefixes to filter out. IPPrefixes []netip.Prefix }
func (*Settings) BlockHostnames ¶
BlockHostnames transforms the slice of hostnames given to FQDN hostnames and sets these to the settings.
func (*Settings) SetDefaults ¶
func (s *Settings) SetDefaults()
func (*Settings) ToLinesNode ¶
Click to show internal directories.
Click to hide internal directories.