Documentation ¶
Index ¶
- func BadRequest(format string, a ...interface{}) error
- func BadRequestID(id string, format string, a ...interface{}) error
- func Forbidden(format string, a ...interface{}) error
- func ForbiddenID(id string, format string, a ...interface{}) error
- func InternalServerError(format string, a ...interface{}) error
- func InternalServerErrorID(id string, format string, a ...interface{}) error
- func NotFound(format string, a ...interface{}) error
- func NotFoundID(id string, format string, a ...interface{}) error
- func Unauthorized(format string, a ...interface{}) error
- func UnauthorizedID(id string, format string, a ...interface{}) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequestID ¶ added in v1.2.8
func ForbiddenID ¶ added in v1.2.8
func InternalServerError ¶
func InternalServerErrorID ¶ added in v1.2.8
func NotFoundID ¶ added in v1.2.8
func Unauthorized ¶
func UnauthorizedID ¶ added in v1.2.8
Types ¶
Click to show internal directories.
Click to hide internal directories.