Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(w http.ResponseWriter, err error)
BadRequest sends a 400 error to the browser.
func ServerError ¶
func ServerError(w http.ResponseWriter, err error)
ServerError sends a 500 error to the browser.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.