Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJSONBody ¶
func DecodeJSONBody(w http.ResponseWriter, r *http.Request, dst interface{}) error
func RespondError ¶
func RespondError(w http.ResponseWriter, code int, message string)
func RespondJSON ¶
func RespondJSON(w http.ResponseWriter, status int, payload interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.