Discover Packages
git.xenrox.net/~xenrox/10man-api
graph
model
package
Version:
v0.0.0-...-22aee03
Opens a new window with list of versions in this module.
Published: Aug 14, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type MapVote struct {
Maps []string `json:"maps"`
Status string `json:"status"`
}
type NewUser struct {
SteamID string `json:"steamID"`
TeamspeakID string `json:"teamspeakID"`
Avatar *string `json:"avatar,omitempty"`
}
type Teams struct {
Team1 []*User `json:"team1"`
Team2 []*User `json:"team2"`
Captain1 *User `json:"captain1"`
Captain2 *User `json:"captain2"`
}
type User struct {
ID int `json:"id"`
SteamID string `json:"steamID"`
TeamspeakID string `json:"teamspeakID"`
Elo int `json:"elo"`
Admin bool `json:"admin"`
Avatar *string `json:"avatar,omitempty"`
Name *string `json:"name,omitempty"`
}
type UserInput struct {
Elo *int `json:"elo,omitempty"`
TeamspeakID *string `json:"teamspeakID,omitempty"`
Avatar *string `json:"avatar,omitempty"`
Name *string `json:"name,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.