Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EndpointHealth = NewEndpoint("GET", "/health") EndpointGetModList = NewEndpoint("GET", "/mods") EndpointGetModDetail = NewEndpoint("GET", "/mod/:mod_id") EndpointGetModThumbnail = NewEndpoint("GET", "/mod/:mod_id/thumbnail") EndpointGetModVersionList = NewEndpoint("GET", "/mod/:mod_id/versions") EndpointGetModVersionDetail = NewEndpoint("GET", "/mod/:mod_id/version/:version_id") EndpointJoinGame = NewEndpoint("GET", "/join_game") EndpointGetVersionInfo = NewEndpoint("GET", "/version_info") )
Functions ¶
This section is empty.
Types ¶
type BranchInfo ¶ added in v1.9.1
type CompiledEndpoint ¶
type Endpoint ¶
func NewEndpoint ¶
type HealthStatus ¶
type HealthStatus struct {
Status string `json:"status"`
}
type JoinGameDownloadResponse ¶ added in v1.6.0
type ShareGameRequest ¶ added in v1.6.0
type ShareGameRequest struct {
}
type ShareGameResponse ¶ added in v1.6.0
type ShareGameResponse struct {
}
type VersionInfo ¶ added in v1.9.1
type VersionInfo struct {
Branches []BranchInfo `json:"branches"`
}
Click to show internal directories.
Click to hide internal directories.