Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDir ¶
func GetConfigDir() string
getConfigDir returns the directory of the configuration JSON file.
func GetConfigPath ¶
func GetConfigPath() string
getConfigPath returns the path to the configuration JSON file.
func GetHomeDir ¶
func GetHomeDir() string
func IsLocalhost ¶ added in v1.28.7
IsLocalhost checks if a URL or host string refers to localhost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.