Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteErrorResponse ¶
func WriteErrorResponse(statusCode int, message string, w http.ResponseWriter)
WriteErrorResponse write a non 200 error response
func WriteErrorResponses ¶
func WriteErrorResponses(statusCode int, errors Errors, w http.ResponseWriter)
WriteErrorResponses write our error responses
Types ¶
Click to show internal directories.
Click to hide internal directories.