Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorValidator ¶ added in v0.140.0
type ErrorValidator struct{}
func (ErrorValidator) ValidateIP ¶ added in v0.140.0
func (ErrorValidator) ValidateIP(net.IP) error
type PassValidator ¶
type PassValidator struct{}
PassValidator passes all URLs
func (PassValidator) ValidateIP ¶ added in v0.101.0
func (PassValidator) ValidateIP(net.IP) error
type PrivateIPValidator ¶
type PrivateIPValidator struct{}
PrivateIPValidator validates that a url does not communicate with a private IP range
func (PrivateIPValidator) ValidateIP ¶ added in v0.101.0
func (PrivateIPValidator) ValidateIP(ip net.IP) error
Click to show internal directories.
Click to hide internal directories.