Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseURLFromFullURL ¶ added in v1.23.5
BaseURLFromFullURL returns the base url (http://hostname.example.com) from a URL, without port
func GetLocalIPs ¶ added in v1.23.3
GetLocalIPs returns IP addresses associated with the machine
func HasLocalIP ¶ added in v1.23.5
HasLocalIP returns true if at least one of the provided IP addresses is assigned to the local computer
func IsPortActive ¶
IsPortActive checks to see if the given port on Docker IP is answering.
func NormalizeURL ¶ added in v1.24.3
NormalizeURL removes the port from a URL if it is the default port for the scheme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.