Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublicIP ¶
PublicIP retrieves the current public ip from IPIFy https://www.ipify.org/
func PublicIPString ¶
func PublicIPString() string
PublicIPString retrieves the current public ip from IPIFy https://www.ipify.org/ The differences to PublicIP are: - PublicIPString ignores all errors and return an empty string if fails - PublicIPString defines arbitratry timeout value of 5 seconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.