Documentation
¶
Overview ¶
Package netutil provides shared network utilities for IP classification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIP ¶
CheckIP reports whether ip is a reserved address that should not be contacted by an outbound HTTP client. Returns an empty string if the IP is safe, or a human-readable reason if it is blocked.
func IsInternal ¶
IsInternal is a convenience wrapper that returns true if ip is reserved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.