Documentation ¶
Index ¶
- Variables
- func CheckUserStatus(w http.ResponseWriter, r *http.Request)
- func CollectHeader()
- func CronGameView()
- func DeleteCatalog()
- func DeleteGame()
- func DeleteUser(w http.ResponseWriter, r *http.Request)
- func ExecuteGameTemplate(w http.ResponseWriter, templates []string, page GameDetailTemplate)
- func GetCatalog(w http.ResponseWriter, r *http.Request)
- func GetGame(w http.ResponseWriter, r *http.Request)
- func GetHeader() models.Header
- func GetUser(w http.ResponseWriter, r *http.Request)
- func IGetGame(w http.ResponseWriter, r *http.Request)
- func Logout(w http.ResponseWriter, r *http.Request)
- func PatchCatalog()
- func PatchGame()
- func PatchUser(w http.ResponseWriter, r *http.Request)
- func PostCatalog()
- func PostGame()
- func PostUser(w http.ResponseWriter, r *http.Request)
- type Game
- type GameDetailTemplate
Constants ¶
This section is empty.
Variables ¶
View Source
var Status models.Status
Functions ¶
func CheckUserStatus ¶
func CheckUserStatus(w http.ResponseWriter, r *http.Request)
func CollectHeader ¶
func CollectHeader()
func CronGameView ¶
func CronGameView()
func DeleteCatalog ¶
func DeleteCatalog()
func DeleteGame ¶
func DeleteGame()
func DeleteUser ¶
func DeleteUser(w http.ResponseWriter, r *http.Request)
DELETE -- 200 (OK). 404 (Not Found), if ID not found or invalid.
func ExecuteGameTemplate ¶
func ExecuteGameTemplate(w http.ResponseWriter, templates []string, page GameDetailTemplate)
Execute template
func GetCatalog ¶
func GetCatalog(w http.ResponseWriter, r *http.Request)
GET -- 200 (OK), single game. 404 (Not Found), if ID not found or invalid.
func GetUser ¶
func GetUser(w http.ResponseWriter, r *http.Request)
GET -- 200 (OK), single user. 404 (Not Found), if ID not found or invalid.
func IGetGame ¶
func IGetGame(w http.ResponseWriter, r *http.Request)
GET -- 200 (OK), single game. 404 (Not Found), if ID not found or invalid.
func PatchCatalog ¶
func PatchCatalog()
func PatchUser ¶
func PatchUser(w http.ResponseWriter, r *http.Request)
PATCH -- 200 (OK) or 204 (No Content). 404 (Not Found), if ID not found or invalid.
func PostCatalog ¶
func PostCatalog()
Types ¶
Click to show internal directories.
Click to hide internal directories.