Documentation ¶
Index ¶
- func GetPackageREADME(repoURL, repoHash string, systemID string) (ret string)
- func IconJSON(iconDirName string) (ret map[string]interface{}, err error)
- func InstallIcon(repoURL, repoHash, installPath string, systemID string) error
- func InstallTemplate(repoURL, repoHash, installPath string, systemID string) error
- func InstallTheme(repoURL, repoHash, installPath string, systemID string) error
- func InstallWidget(repoURL, repoHash, installPath string, systemID string) error
- func TemplateJSON(templateDirName string) (ret map[string]interface{}, err error)
- func ThemeJSON(themeDirName string) (ret map[string]interface{}, err error)
- func UninstallIcon(installPath string) error
- func UninstallTemplate(installPath string) error
- func UninstallTheme(installPath string) error
- func UninstallWidget(installPath string) error
- func WidgetJSON(widgetDirName string) (ret map[string]interface{}, err error)
- type Icon
- type Package
- type Template
- type Theme
- type Widget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPackageREADME ¶
func InstallIcon ¶
func InstallTemplate ¶
func InstallTheme ¶
func InstallWidget ¶
func TemplateJSON ¶
func UninstallIcon ¶
func UninstallTemplate ¶
func UninstallTheme ¶
func UninstallWidget ¶
func WidgetJSON ¶
Types ¶
type Package ¶
type Package struct { Author string `json:"author"` URL string `json:"url"` Version string `json:"version"` Name string `json:"name"` RepoURL string `json:"repoURL"` RepoHash string `json:"repoHash"` PreviewURL string `json:"previewURL"` PreviewURLThumb string `json:"previewURLThumb"` README string `json:"readme"` Installed bool `json:"installed"` Outdated bool `json:"outdated"` Current bool `json:"current"` Updated string `json:"updated"` Stars int `json:"stars"` OpenIssues int `json:"openIssues"` Size int64 `json:"size"` HSize string `json:"hSize"` InstallSize int64 `json:"installSize"` HInstallSize string `json:"hInstallSize"` HInstallDate string `json:"hInstallDate"` HUpdated string `json:"hUpdated"` Downloads int `json:"downloads"` }
type Template ¶
type Template struct {
Package
}
func InstalledTemplates ¶
func InstalledTemplates() (ret []*Template)
type Theme ¶
func InstalledThemes ¶
func InstalledThemes() (ret []*Theme)
Click to show internal directories.
Click to hide internal directories.