package
0.2.1
Repository: https://github.com/ecshreve/jepp.git
Documentation: pkg.go.dev

# Functions

BaseAPIHandler handles the base API route.
BaseUIHandler handles the base UI route.
CategoryHandler godoc.
ClueHandler godoc @Summary Fetch Clues @Description get clues with optional filters @Tags api @Accept json @Produce json @Param random query bool false "If exists or true, returns `limit` random records." @Param id query int64 false "If exists, returns the record with the given id." @Param game query integer false "Filter by Game ID" @Param category query integer false "Filter by Category ID" @Param limit query int64 false "Limit the number of records returned" Default(10) @Success 200 {array} models.Clue @Failure 500 {object} utils.HTTPError @Router /clue [get].
GameHandler godoc @Summary Fetch Games @Description get games with optional filters @Tags api @Accept json @Produce json @Param random query bool false "If exists or true, returns `limit` random records." @Param id query int64 false "If exists, returns the record with the given id." @Param limit query int64 false "Limit the number of records returned." Default(10) @Success 200 {array} models.Game @Failure 500 {object} utils.HTTPError @Router /game [get].
NewServer returns a new API server.

# Structs

No description provided by the author
No description provided by the author
Server is the API server.
No description provided by the author