Documentation ¶
Overview ¶
Package gameOwnerRequests contains all requests regarding gameOwner entity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGame ¶
type AddGame struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` SessionToken string `json:"SessionToken" xml:"SessionToken" form:"SessionToken"` GameName string `json:"GameName" xml:"GameName" form:"GameName"` GameDescription string `json:"GameDescription" xml:"GameDescription" form:"GameDescription"` MaxPlayers int64 `json:"MaxPlayers" xml:"MaxPlayers" form:"MaxPlayers"` }
AddGame represents a request to add a token for an app of the developer.
type GameOwnerAuth ¶
type GameOwnerAuth struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` Email string `json:"Email" xml:"Email" form:"Email"` Password string `json:"Password" xml:"Password" form:"Password"` }
GameOwnerAuth represents an auth try to the system.
type GameOwnerGameList ¶
type GameOwnerGameList struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` SessionToken string `json:"SessionToken" xml:"SessionToken" form:"SessionToken"` }
MyGames represents a request to obtain a gameOwnerGameList for the gameOwner.
type GameOwnerRegistration ¶
type GameOwnerRegistration struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` Email string `json:"Email" xml:"Email" form:"Email"` Password string `json:"Password" xml:"Username" form:"Password"` }
GameOwnerRegistration represents a request to register a Game Owner into the system.
type RemoveGame ¶
type RemoveGame struct { Type string `json:"Type" xml:"Type" form:"Type"` API_Token string `json:"API_Token" xml:"API_Token" form:"API_Token"` SessionToken string `json:"SessionToken" xml:"SessionToken" form:"SessionToken"` GameID int64 `json:"GameID" xml:"GameID" form:"GameID"` }
RemoveGame represents a request to remove a game from a gameOwners list.
Only the owner of the game can perform this action.
Click to show internal directories.
Click to hide internal directories.