Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultErrorHandler ¶
func DefaultErrorHandler(w http.ResponseWriter, r *http.Request, statusCode int)
DefaultErrorHandler responds with a JSON error body for routing-layer errors (404, 405).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.