Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Params
}
func (Handler) Create ¶
swagger:route POST /games games reqCreateGameWrapper
Create game object ¶
This endpoint will create the game and return the game structure
Responses: 200: Game 400: HTTPError 404: HTTPError 500: HTTPError
func (Handler) GetByFilter ¶
swagger:route GET /games games reqGetByFilter
Getting a list of games by filter ¶
This endpoint returns a list of extended game structures
Responses: 200: GameExList 500: HTTPError
func (Handler) GetByID ¶
swagger:route GET /games/{id} games reqGetByID
Getting a game by ID ¶
This endpoint returns the extended structure of the game
Responses: 200: GameEx 400: HTTPError 404: HTTPError 500: HTTPError
type ViewParams ¶
type ViewParams struct { fx.In RegionCurrencyService service.RegionCurrencyService MediaService service.MediaService URLBuilder url_builder.Helper TagView tag.View FeatureView feature.View GenreView genre.View }
Click to show internal directories.
Click to hide internal directories.