Documentation ¶
Index ¶
- func StatusBadRequest(w http.ResponseWriter, err error)
- func StatusConflict(w http.ResponseWriter, err error)
- func StatusCreated(w http.ResponseWriter, content interface{})
- func StatusForbidden(w http.ResponseWriter, err error)
- func StatusInternalServerError(w http.ResponseWriter, err error)
- func StatusMethodNotAllowed(w http.ResponseWriter, err error)
- func StatusNoContent(w http.ResponseWriter)
- func StatusNotFound(w http.ResponseWriter, err error)
- func StatusOK(w http.ResponseWriter, content interface{})
- func StatusUnauthorized(w http.ResponseWriter, err error)
- func StatusUnprocessableEntity(w http.ResponseWriter, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusBadRequest ¶
func StatusBadRequest(w http.ResponseWriter, err error)
func StatusConflict ¶
func StatusConflict(w http.ResponseWriter, err error)
func StatusCreated ¶
func StatusCreated(w http.ResponseWriter, content interface{})
func StatusForbidden ¶
func StatusForbidden(w http.ResponseWriter, err error)
func StatusInternalServerError ¶
func StatusInternalServerError(w http.ResponseWriter, err error)
func StatusMethodNotAllowed ¶
func StatusMethodNotAllowed(w http.ResponseWriter, err error)
func StatusNoContent ¶
func StatusNoContent(w http.ResponseWriter)
func StatusNotFound ¶
func StatusNotFound(w http.ResponseWriter, err error)
func StatusOK ¶
func StatusOK(w http.ResponseWriter, content interface{})
func StatusUnauthorized ¶
func StatusUnauthorized(w http.ResponseWriter, err error)
func StatusUnprocessableEntity ¶
func StatusUnprocessableEntity(w http.ResponseWriter, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.