Documentation ¶
Index ¶
- func ClearSignals(sgn chan os.Signal)
- func DownloadToFile(downloadURL, filePath string) error
- func ExtractURLFromString(str string) string
- func GetDaysSinceRFC3339String(date string) (int, error)
- func GetLatestReleaseFromGitHub(repoName string) (*gitHubReleaseType, error)
- func OpenURLInBrowser(url string) error
- func RenderProgressSpinnerWithMessages(complete, quit chan bool, loadMessages, afterLoadMessages []string)
- func RunOnCtrlC(cleanupFn func()) chan os.Signal
- func ShowConfirmationPrompt(msg string) (bool, error)
- func WaitAndOpenURL(url string, sgn chan bool, interval int)
- func WaitForResponsiveURL(url string, intervalSeconds int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearSignals ¶
func DownloadToFile ¶
func ExtractURLFromString ¶
func OpenURLInBrowser ¶
func RunOnCtrlC ¶
func ShowConfirmationPrompt ¶
func WaitAndOpenURL ¶
func WaitForResponsiveURL ¶
Ignores all error and waits for URL to be responsive by sending HEAD request every intervalSeconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.