Documentation
¶
Index ¶
Constants ¶
View Source
const GitHubAPIURL = "https://api.github.com/repos/HenryOwenz/cloudgate/releases/latest"
GitHubAPIURL is the URL for the GitHub API to fetch the latest release
View Source
const RepositoryURL = "https://github.com/HenryOwenz/cloudgate"
RepositoryURL is the base URL for the cloudgate repository
Variables ¶
View Source
var Current = "0.1.7"
Current is the current version of cloudgate This will be set during build time
Functions ¶
func ColoredUpdateMessage ¶
func ColoredUpdateMessage() string
ColoredUpdateMessage returns a colored message about version status
func IsUpdateAvailable ¶
IsUpdateAvailable checks if a new version is available
Types ¶
type ReleaseInfo ¶
ReleaseInfo represents the GitHub API response for a release
Click to show internal directories.
Click to hide internal directories.