Documentation ¶
Index ¶
- func CreateGame(w http.ResponseWriter, req *http.Request)
- func CreatePlayer(w http.ResponseWriter, req *http.Request)
- func CreateShot(w http.ResponseWriter, req *http.Request)
- func CreateTeam(w http.ResponseWriter, req *http.Request)
- func GetGameByID(w http.ResponseWriter, req *http.Request)
- func GetTeamByID(w http.ResponseWriter, req *http.Request)
- func UpdatePlayer(w http.ResponseWriter, req *http.Request)
- func UpdateShot(w http.ResponseWriter, req *http.Request)
- func UpdateTeam(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdatePlayer ¶
func UpdatePlayer(w http.ResponseWriter, req *http.Request)
PATCH /players/:id TO DO add generic decodeReq method that takes and returns interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.