Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { }
Handler handle request to game
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
REQUEST: curl -X POST -H "Content-Type: application/json" -d '{"user":{"username":"1","email":"1","password":"1"}}' localhost:8080/api/auth/signup RESPONSE: {"status":"success","session":{"user_id":"1","session_id":"u9RQzVGhHv5qmS49hsmb2PzM5uGfEc1y"}}
Click to show internal directories.
Click to hide internal directories.