Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildURL ¶ added in v1.10.0
BuildURL constructs a URL from parts. It handles any irregularities like missing or extra slashes.
func PublicIP ¶
PublicIP returns the external/public IP (v4 or v6) of the host. ipversion can be 4 to require ipv4, 6 to require ipv6, or 0 for either.
If a nil error is returned, the returned IP must be valid.
func RandomBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.