Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorSender ¶
func GenericPost ¶
Generic POST function. <obj> of type *T - pointer to object to be saved; <f> of type func(T) error - standard service save function
func ResponseOK ¶
Types ¶
type GameListController ¶
type GameListController interface { GetAllGames(ctx *gin.Context) GetAllGamesTyped(ctx *gin.Context) GetMyGameList(ctx *gin.Context) SearchGames(ctx *gin.Context) GameDetails(ctx *gin.Context) AcquireJWTPair(ctx *gin.Context) RefreshJWTPair(ctx *gin.Context) RevokeRefreshToken(ctx *gin.Context) DeleteAllRefreshTokens(ctx *gin.Context) Authorized(ctx *gin.Context) // Will be replaced with gRPC calls PostGame(ctx *gin.Context) PostListType(ctx *gin.Context) GetAllListTypes(ctx *gin.Context) ListGame(ctx *gin.Context) PostGenre(ctx *gin.Context) GetAllGenres(ctx *gin.Context) PostPlatform(ctx *gin.Context) GetAllPlatforms(ctx *gin.Context) PostProfile(ctx *gin.Context) GetAllProfiles(ctx *gin.Context) PostSocialType(ctx *gin.Context) GetAllSocialtypes(ctx *gin.Context) }
func NewGameListController ¶
func NewGameListController(gamelistService service.GameListService, jwtService service.JWTService) GameListController
Click to show internal directories.
Click to hide internal directories.