Documentation ¶
Index ¶
- func FailedToReadBodyError(res http.ResponseWriter, err error) error
- func FailedToUnmarshalJSONError(res http.ResponseWriter, err error) error
- func InternalServerError(res http.ResponseWriter, err error) error
- func InvalidRequestError(res http.ResponseWriter, err error) error
- func JSON(res http.ResponseWriter, code int, body interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailedToReadBodyError ¶
func FailedToReadBodyError(res http.ResponseWriter, err error) error
func FailedToUnmarshalJSONError ¶
func FailedToUnmarshalJSONError(res http.ResponseWriter, err error) error
func InternalServerError ¶
func InternalServerError(res http.ResponseWriter, err error) error
func InvalidRequestError ¶
func InvalidRequestError(res http.ResponseWriter, err error) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.