Documentation
¶
Index ¶
- func BadRequest(w http.ResponseWriter)
- func BadRequestWithMessage(w http.ResponseWriter, m string)
- func Forbidden(w http.ResponseWriter)
- func InternalServerError(w http.ResponseWriter)
- func NotFound(w http.ResponseWriter)
- func NotImplemented(w http.ResponseWriter)
- func OK(w http.ResponseWriter)
- func Unauthorized(w http.ResponseWriter)
- func WithData(w http.ResponseWriter, obj interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(w http.ResponseWriter)
func BadRequestWithMessage ¶
func BadRequestWithMessage(w http.ResponseWriter, m string)
func Forbidden ¶
func Forbidden(w http.ResponseWriter)
func InternalServerError ¶
func InternalServerError(w http.ResponseWriter)
func NotFound ¶
func NotFound(w http.ResponseWriter)
func NotImplemented ¶
func NotImplemented(w http.ResponseWriter)
func OK ¶
func OK(w http.ResponseWriter)
func Unauthorized ¶
func Unauthorized(w http.ResponseWriter)
func WithData ¶
func WithData(w http.ResponseWriter, obj interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.