Versions in this module Expand all Collapse all v0 v0.3.0 Oct 20, 2020 v0.2.0 Sep 29, 2020 Changes in this version + var ReleaseListCache = map[ReleaseType]Collection v0.1.0 Sep 23, 2020 Changes in this version + const ArchiveFile + const IncludeAll + const IncludeStable + const InstallerFile + const SourceFile + type Collection []*Release + func ListAll(releaseType ReleaseType) (Collection, error) + func (c Collection) Len() int + func (c Collection) Less(i, j int) bool + func (c Collection) Swap(i, j int) + type FileKind string + type Release struct + Files []ReleaseFile + Stable bool + Version string + func GetForVersion(releaseType ReleaseType, version *version.Version) (*Release, bool, error) + func GetLatest(releaseType ReleaseType) (*Release, error) + func (r Release) FindFiles(os, arch string, kind FileKind) []ReleaseFile + func (r Release) GetVersionNumber() *version.Version + type ReleaseFile struct + Arch string + Filename string + Kind FileKind + OS string + Sha256 string + Size int32 + Version string + func (f ReleaseFile) GetURL() string + func (f ReleaseFile) VerifySame(fileName string) (bool, error) + type ReleaseType string + func SelectReleaseType(all bool) ReleaseType