controllers

package
v0.0.0-...-1291c50 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTournament

func CreateTournament(c *gin.Context)

CreateTournament :

func DeleteTournament

func DeleteTournament(c *gin.Context)

DeleteTournament :

func GetTournament

func GetTournament(c *gin.Context)

GetTournament :

func ListTournaments

func ListTournaments(c *gin.Context)

ListTournaments :

func ModifyTournament

func ModifyTournament(c *gin.Context)

ModifyTournament :

func UpdateTournament

func UpdateTournament(c *gin.Context)

UpdateTournament :

Types

type AuthenticationController

type AuthenticationController interface {
	AuthenticatePlayer(c *gin.Context)
}

AuthenticationController :

func InitAuthenticationController

func InitAuthenticationController(as services.AuthenticationService) AuthenticationController

InitAuthenticationController :

type PlayerController

type PlayerController interface {
	ListPlayers(c *gin.Context)
	GetPlayer(c *gin.Context)
	CreatePlayer(c *gin.Context)
	UpdatePlayer(c *gin.Context)
	ModifyPlayer(c *gin.Context)
	DeletePlayer(c *gin.Context)
}

PlayerController :

func InitPlayerController

func InitPlayerController(playerService services.PlayerService) PlayerController

InitPlayerController :

Jump to

Keyboard shortcuts

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