gameOwnerController

package
v0.0.0-...-659eabc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2017 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGames

func GetGames(ownerID int64) ([]gameOwnerDataStructs.Game, error)

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

func GetOwnerOfGame(gameID int64) (int64, bool, error)

GetOwnerOfGame return the owner ID of the specified game.

func HandleAddGame

func HandleAddGame(context echo.Context) error

HandleAddGame handles a request to add a developer Game.

func HandleGameAction

func HandleGameAction(context echo.Context) error

HandleGameAction handles the requests to enable/disable a game.

func HandleLogin

func HandleLogin(context echo.Context) error

HandleLogin handles login requests for developers.

func HandleRegistration

func HandleRegistration(context echo.Context) error

HandleRegistration handles a request to register a developer.

func HandleRemoveGame

func HandleRemoveGame(context echo.Context) error

HandleRemoveGame handles a request to remove a developer Game.

func HandleShowMyGames

func HandleShowMyGames(context echo.Context) error

HandleShowMyGames handles the request to show the games owned by a game_owner.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL