Versions in this module Expand all Collapse all v1 v1.0.1 Nov 2, 2020 Changes in this version type Asset + Yml *LatestYml + type LatestYml struct + BrowserDownloadURL string + Content string + func (yml *LatestYml) ReplaceURL(u string) v1.0.0 Oct 31, 2020 Changes in this version type GithubCache + func (g *GithubCache) Stop() type ReleaseData + ProxyDownload bool v0 v0.1.0 Oct 25, 2020 Changes in this version + type Asset struct + BrowserDownloadURL string + ContentType string + ID int64 + Name string + Size int + URL string + type GithubCache struct + func NewGithubCache(conf *GithubConfig, cacheDir string, openProxyDownload bool, ...) *GithubCache + func (g *GithubCache) AssetFilePath(release *Release, assetName string) string + func (g *GithubCache) AssetFileURL(release *Release, assetName string) string + func (g *GithubCache) LoadCache() *Release + type GithubConfig struct + Owner string + Pre bool + Repo string + Token string + func (c *GithubConfig) IsPrivateRepo() bool + func (c *GithubConfig) RepoURL() string + type ProxyDownloadConfig struct + BaseURL string + SaveDir string + type Release struct + Notes string + Platforms map[string]*Asset + PubDate github.Timestamp + RELEASES string + Version string + type ReleaseData struct + OpenProxyDownload bool + Release *Release + RepoURL string