Documentation
¶
Index ¶
- func InternalServerError(rw http.ResponseWriter, r *http.Request)
- func JSON(w http.ResponseWriter, body interface{})
- func MethodNotAllowed(rw http.ResponseWriter, r *http.Request)
- func NotFound(rw http.ResponseWriter, r *http.Request)
- func PanicManager(next http.Handler) http.Handler
- type ErrorMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InternalServerError ¶
func InternalServerError(rw http.ResponseWriter, r *http.Request)
func JSON ¶
func JSON(w http.ResponseWriter, body interface{})
func MethodNotAllowed ¶
func MethodNotAllowed(rw http.ResponseWriter, r *http.Request)
Types ¶
type ErrorMessage ¶
Click to show internal directories.
Click to hide internal directories.