Documentation
¶
Overview ¶
Package netguard keeps courier's posts to URLs products hand it (Web Push endpoints, webhooks) off the installation's own network.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrForbiddenAddress = errors.New("destination resolves to an internal address")
ErrForbiddenAddress: the destination's host resolved to an address inside a network — loopback, private, link-local, shared, unspecified or multicast. Checked on the address dialed, after DNS, so a name that resolves inside (or rebinds to it) is refused too.
Functions ¶
func Allowed ¶
Allowed reports whether host matches hosts: an exact name or *.suffix; never an IP address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.