Documentation ¶
Index ¶
- func BadRequest(w http.ResponseWriter, r *http.Request, message string)
- func Conflict(w http.ResponseWriter, r *http.Request, message string)
- func Error(w http.ResponseWriter, r *http.Request, status int, errStr string, ...)
- func Forbidden(w http.ResponseWriter, r *http.Request, message string)
- func HandleError(w http.ResponseWriter, r *http.Request, err error)
- func InternalServerError(w http.ResponseWriter, r *http.Request)
- func NotFound(w http.ResponseWriter, r *http.Request, message string)
- func Unauthorized(w http.ResponseWriter, r *http.Request, message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(w http.ResponseWriter, r *http.Request, message string)
func HandleError ¶
func HandleError(w http.ResponseWriter, r *http.Request, err error)
func InternalServerError ¶
func InternalServerError(w http.ResponseWriter, r *http.Request)
func Unauthorized ¶
func Unauthorized(w http.ResponseWriter, r *http.Request, message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.