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)
- type Interface
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 ¶
type Interface ¶
type Interface interface { Get(w http.ResponseWriter, r *http.Request) Put(w http.ResponseWriter, r *http.Request) Post(w http.ResponseWriter, r *http.Request) Delete(w http.ResponseWriter, r *http.Request) Options(w http.ResponseWriter, r *http.Request) }
Click to show internal directories.
Click to hide internal directories.