Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTCPPort ¶
GetTCPPort gets a free TCP port for given address. When address is not provided (is empty), 127.0.0.1 is used.
func IsEmailAddress ¶
IsEmailAddress returns whether addr is a valid email address. What is not supported as valid:
* quoted local-parts
* following allowed characters are not supported: ! $ % & ' * / = ? ^ ` { | }
func MustGetLocalhostTCPPort ¶
func MustGetLocalhostTCPPort() int
MustGetLocalhostTCPPort gets a free TCP port for IP 127.0.0.1. Panics when an error occurs.
func OutboundIP ¶
OutboundIP retrieves the IP address with which the system is communicating with the internet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.