Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Respond ¶
func Respond(w http.ResponseWriter, result interface{}, cberr error)
Respond is a standardized response for handlers
func RespondBadRequest ¶
func RespondBadRequest(w http.ResponseWriter, err error)
RespondBadRequest is a standardized response for API errors where the request was malformed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.