Documentation ¶
Index ¶
- func ApplyDefaultSettings(workingDir string) error
- func ExistsCheck(serverType string, version string) (bool, error)
- func GetCacheDirectory() string
- func GetLatest() (string, error)
- func GetLatestPaperBuild(version string) (int32, error)
- func GetManifest(from string, serverType string, version string) ([]byte, error)
- func InstallServer(version string, workingDir string, serverType string) error
- func JarExists(version string, serverType string) bool
- func RunTunnel(port *int) error
- func UpdateManifest(serverType string, version string) error
- type ForgeBuilds
- type PackageInfo
- type PaperBuildInfo
- type PaperBuilds
- type ReleaseInfo
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyDefaultSettings ¶
func GetCacheDirectory ¶
func GetCacheDirectory() string
func GetLatestPaperBuild ¶
func UpdateManifest ¶
Types ¶
type ForgeBuilds ¶
type ForgeBuilds struct {
Builds []string `json:"promos"`
}
type PackageInfo ¶
type PackageInfo struct { Downloads struct { Server struct { Url string `json:"url"` } } }
type PaperBuildInfo ¶
type PaperBuildInfo struct { Downloads struct { Application struct { Name string `json:"name"` } `json:"application"` } `json:"downloads"` }
type PaperBuilds ¶
type PaperBuilds struct {
Builds []int32 `json:"builds"`
}
type ReleaseInfo ¶
type ReleaseInfo struct { Latest struct { Release string `json:"release"` Snapshot string `json:"snapshot"` } `json:"latest"` Versions []VersionInfo `json:"versions"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.