Documentation
¶
Index ¶
Constants ¶
View Source
const APIVersion uint = 2
APIVersion is the version of the REST API implemented in this file
View Source
const SoftwareName = "vic2-multi-proxy"
SoftwareName is the name of this software
View Source
const SoftwareVersion = "v1.0.1-alpha"
SoftwareVersion is the version of this software
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckinResponse ¶
type CheckinResponse struct {
Lobbies map[string]RestLobby `json:"lobbies"`
Hosting bool `json:"hosting"`
LinkedLobby uint64 `json:"linkedTo"`
}
CheckinResponse is the JSON response to the /checkin REST method
type GameDataContainer ¶
func (*GameDataContainer) Encode ¶
func (container *GameDataContainer) Encode() []byte
type InfoResponse ¶
type InfoResponse struct {
Software string `json:"software"`
Version string `json:"version"`
API uint `json:"apiVersion"`
}
InfoResponse is the JSON response to the /info REST method
Click to show internal directories.
Click to hide internal directories.