Documentation ¶
Index ¶
- func GetGames(ownerID int64) ([]gameOwnerDataStructs.Game, error)
- func GetOwnerOfGame(gameID int64) (int64, bool, error)
- func HandleAddGame(context echo.Context) error
- func HandleGameAction(context echo.Context) error
- func HandleLogin(context echo.Context) error
- func HandleRegistration(context echo.Context) error
- func HandleRemoveGame(context echo.Context) error
- func HandleShowMyGames(context echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGames ¶
GetGames gets the enabled games for the owner (from the archives) Will be cached by the client (owner app). Version 1.0 QUESTION: does it have sense to add cache even here?
func GetOwnerOfGame ¶
GetOwnerOfGame return the owner ID of the specified game.
func HandleAddGame ¶
HandleAddGame handles a request to add a developer Game.
func HandleGameAction ¶
HandleGameAction handles the requests to enable/disable a game.
func HandleLogin ¶
HandleLogin handles login requests for developers.
func HandleRegistration ¶
HandleRegistration handles a request to register a developer.
func HandleRemoveGame ¶
HandleRemoveGame handles a request to remove a developer Game.
func HandleShowMyGames ¶
HandleShowMyGames handles the request to show the games owned by a game_owner.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.