layermenu

package
v0.0.0-...-ef10614 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteLocalAssetFiles

func DeleteLocalAssetFiles(files []interface{})

func DownloadAssets

func DownloadAssets(dlfiles []string, status chan DownloadStatus)

func EnsureFolders

func EnsureFolders()

func GenerateMenu

func GenerateMenu()

func GetAssetFiles

func GetAssetFiles() []string

func GetEndpoints

func GetEndpoints() map[string]interface{}

func GetLocalAndRemoteFileList

func GetLocalAndRemoteFileList() ([]string, []string)

func GetMenuFileContents

func GetMenuFileContents(filename string) (string, error)

func GetMenuVersion

func GetMenuVersion() string

func Upgrade

func Upgrade(version string, status chan DownloadStatus)

Types

type Download

type Download struct {
	URL  string
	Path string
}

type DownloadStatus

type DownloadStatus struct {
	URL           string
	BytesTotal    int64
	BytesReceived int64
	Number        int
	Total         int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL