Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OfflineDir string
OfflineDir, when set, makes EnsureInstalled copy binaries from this directory instead of downloading. Used for SCP/offline installs.
Functions ¶
func CheckUpdate ¶
CheckUpdate checks GitHub releases for a newer version. Dev builds prefer the latest dev release; stable builds check latest stable.
func DownloadBase ¶ added in v1.4.0
func DownloadBase() string
DownloadBase returns the base URL for slipgate binary downloads. Dev builds prefer the latest dev release; if none exists, fall back to the latest stable release. Production builds always use stable.
func EnsureInstalled ¶
EnsureInstalled checks if a binary exists. If not, copies from OfflineDir (if set) or downloads from GitHub releases.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.