controllers

package
v2.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) Get

func (e *ErrorHandler) Get(err error, ctx echo.Context)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL