Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FLAVORS = []string{"vanilla", "spigot", "paper"}
FLAVORS is a list of our supported server flavors
Functions ¶
func FlavorIsValid ¶
FlavorIsValid returns if a given flavor is in the list of FLAVORS
Types ¶
type Version ¶
type Version struct { ID string `json:"id"` Type string `json:"type"` URL string `json:"url"` ReleaseTime string `json:"releaseTime"` Build int `json:"build"` }
Version is the (important) fields for each release
type VersionFile ¶
type VersionFile struct { Latest struct { Release string `json:"release"` Snapshot string `json:"snapshot"` } `json:"latest"` Versions []Version `json:"versions"` }
VersionFile is the structure of the version_manifest.json file
Click to show internal directories.
Click to hide internal directories.