Documentation ¶
Index ¶
- func BadRequest(err ...interface{}) error
- func Conflict(err ...interface{}) error
- func Forbidden(err ...interface{}) error
- func HTTPError(code int, err interface{}) error
- func InternalServerError(err error) error
- func NotFound(err ...interface{}) error
- func Panic(err error) error
- func Unauthorized(err ...interface{}) error
- type InternalError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(err ...interface{}) error
func InternalServerError ¶
func Unauthorized ¶
func Unauthorized(err ...interface{}) error
Types ¶
Click to show internal directories.
Click to hide internal directories.