Documentation
¶
Overview ¶
Package net contains helpers for validating network address values.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidIPv4 ¶
IsValidIPv4 reports whether value is a syntactically valid IPv4 address.
func IsValidIPv6 ¶
IsValidIPv6 reports whether value is a syntactically valid IPv6 address.
func IsValidURL ¶
IsValidURL reports whether value is a syntactically valid URL with a required scheme and host. The URL must have a scheme (http, https, etc.) and a host to be considered valid. This is stricter than net.ParseURL and rejects permissive edge cases like scheme-only or host-only URLs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.