Discover Packages
github.com/isksss/paperm
model
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Aug 31, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BuildProject struct {
ProjectID string `json:"project_id"`
ProjectName string `json:"project_name"`
Version string `json:"version"`
Build int `json:"build"`
Time time .Time `json:"time"`
Channel string `json:"channel"`
Promoted bool `json:"promoted"`
Changes []Change `json:"changes"`
Downloads Downloads `json:"downloads"`
}
type Change struct {
Commit string `json:"commit"`
Summary string `json:"summary"`
Message string `json:"message"`
}
type Config struct {
PaperVersion string `json:"paper_version"`
JarName string
Server Server `json:"server"`
Plugin Plugin `json:"plugin"`
}
type Downloads struct {
Application struct {
Name string `json:"name"`
Sha256 string `json:"sha256"`
} `json:"application"`
MojangMappings struct {
Name string `json:"name"`
Sha256 string `json:"sha256"`
} `json:"mojang-mappings"`
}
type Plugin struct {
Download bool `json:"download"`
Plugins []Plugins `json:"plugins"`
}
type Plugins struct {
Name string `json:"name"`
Url string `json:"url"`
}
type Project struct {
ProjectID string `json:"project_id"`
ProjectName string `json:"project_name"`
Version string `json:"version"`
Builds []int `json:"builds"`
Error string `json:"error"`
}
type Server struct {
MaxMemory int `json:"max_memory"`
MinMemory int `json:"min_memory"`
AnnounceMessage string `json:"announce_message"`
RestartTime []string `json:"restart_time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.