Documentation ¶
Index ¶
Constants ¶
View Source
const IpLocalhost = `((127\.([0-9]{1,3}.){2}[0-9]{1,3})|(::1))`
Variables ¶
This section is empty.
Functions ¶
func IsLocalhost ¶
IsLocalhost returns true if ip matches the localhost IP regular expression. Used for determining if nameserver settings are being passed which are localhost addresses
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.