Documentation ¶
Index ¶
- func Created(response http.ResponseWriter, resourceID string, resource interface{})
- func Forbidden(response http.ResponseWriter)
- func InternalServerError(response http.ResponseWriter)
- func InvalidRequestParameters(response http.ResponseWriter, details interface{})
- func MalformedRequest(response http.ResponseWriter)
- func OK(response http.ResponseWriter, data interface{})
- func UnsupportedContentType(response http.ResponseWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Created ¶
func Created(response http.ResponseWriter, resourceID string, resource interface{})
func Forbidden ¶
func Forbidden(response http.ResponseWriter)
func InternalServerError ¶
func InternalServerError(response http.ResponseWriter)
func InvalidRequestParameters ¶
func InvalidRequestParameters(response http.ResponseWriter, details interface{})
func MalformedRequest ¶
func MalformedRequest(response http.ResponseWriter)
func OK ¶
func OK(response http.ResponseWriter, data interface{})
func UnsupportedContentType ¶
func UnsupportedContentType(response http.ResponseWriter)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.