Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLocalhost ¶
IsLocalhost returns true if addr is a localhost address Works for both ipv4 and ipv6 addresses.
func LocalhostIP ¶
LocalhostIP returns the address for localhost on the machine
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.