Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBlocked indicates that the resolved IP is blocked in the blocklist. ErrBlocked = errors.New("ip is blocked") // ErrNotIPv4Address indicates that the resolved IP address is not IPv4. ErrNotIPv4Address = errors.New("not ipv4 address") // ErrInvalidPort indicates that the port number in the address is invalid. ErrInvalidPort = errors.New("invalid port number") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.