Documentation
¶
Index ¶
- type ErrorHandler
- func (e *ErrorHandler) Get(err error, ctx echo.Context)
- func (e *ErrorHandler) GetHttp400BadRequest(ctx echo.Context) error
- func (e *ErrorHandler) GetHttp401Unauthorized(ctx echo.Context) error
- func (e *ErrorHandler) GetHttp403Forbidden(ctx echo.Context) error
- func (e *ErrorHandler) GetHttp404NotFound(ctx echo.Context) error
- func (e *ErrorHandler) GetHttp500InternalServerError(ctx echo.Context) error
- type HealthcheckRoute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler struct {
Controller ui.Controller
}
func NewErrorHandler ¶
func NewErrorHandler(ctr ui.Controller) ErrorHandler
func (*ErrorHandler) GetHttp400BadRequest ¶
func (e *ErrorHandler) GetHttp400BadRequest(ctx echo.Context) error
func (*ErrorHandler) GetHttp401Unauthorized ¶
func (e *ErrorHandler) GetHttp401Unauthorized(ctx echo.Context) error
func (*ErrorHandler) GetHttp403Forbidden ¶
func (e *ErrorHandler) GetHttp403Forbidden(ctx echo.Context) error
func (*ErrorHandler) GetHttp404NotFound ¶
func (e *ErrorHandler) GetHttp404NotFound(ctx echo.Context) error
func (*ErrorHandler) GetHttp500InternalServerError ¶
func (e *ErrorHandler) GetHttp500InternalServerError(ctx echo.Context) error
type HealthcheckRoute ¶
type HealthcheckRoute struct {
// contains filtered or unexported fields
}
func NewHealthCheckRoute ¶
func NewHealthCheckRoute(ctr ui.Controller) HealthcheckRoute
func (*HealthcheckRoute) GetLiveness ¶
func (g *HealthcheckRoute) GetLiveness(ctx echo.Context) error
func (*HealthcheckRoute) GetReadiness ¶
func (g *HealthcheckRoute) GetReadiness(ctx echo.Context) error
Click to show internal directories.
Click to hide internal directories.