Documentation
¶
Index ¶
- Constants
- func CancelDownload()
- func InstallFromZip(ctx context.Context, zipPath string) string
- func IsInstalled() bool
- func RegisterVersionFolder(folder string) string
- func StartDownload(ctx context.Context, url string) string
- func UnregisterIfExists(isPreview bool) string
- func UnregisterVersionFolder(folder string) string
- func WdappExists() bool
- type DownloadProgress
Constants ¶
View Source
const ( EventDownloadStatus = "gdk_download_status" EventDownloadProgress = "gdk_download_progress" EventDownloadDone = "gdk_download_done" EventDownloadError = "gdk_download_error" EventInstallStart = "gdk_install_start" EventInstallDone = "gdk_install_done" EventInstallError = "gdk_install_error" )
Variables ¶
This section is empty.
Functions ¶
func CancelDownload ¶ added in v0.0.21
func CancelDownload()
func IsInstalled ¶
func IsInstalled() bool
func RegisterVersionFolder ¶
func UnregisterIfExists ¶
func UnregisterVersionFolder ¶
func WdappExists ¶
func WdappExists() bool
Types ¶
type DownloadProgress ¶
Click to show internal directories.
Click to hide internal directories.