Documentation
¶
Index ¶
Constants ¶
View Source
const ( Arch386 = "386" ArchAmd64 = "amd64" )
View Source
const (
OSWindows = "windows"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeltaPackage ¶
DeltaPackage represents a file containing only the changes between two version.
type Manifest ¶
type Manifest []*Version
Manifest represents a list of versions available for download.
type Package ¶
type Package struct { URL string `json:"url"` Size string `json:"size"` OS string `json:"os"` Arch string `json:"arch"` }
Package represents a file available for download.
type Version ¶
type Version struct { Version string `json:"version"` ReleaseDate string `json:"release_date"` Changelog string `json:"changelog"` Packages []*Package `json:"packages"` DeltaPackages []*DeltaPackage `json:"delta_packages"` }
Version represents a single version available for installation.
Click to show internal directories.
Click to hide internal directories.