Versions in this module Expand all Collapse all v0 v0.2.2 May 29, 2022 Changes in this version + type Controller struct + Container *services.Container + func NewController(c *services.Container) Controller + func (c *Controller) Redirect(ctx echo.Context, route string, routeParams ...interface{}) error + func (c *Controller) RenderErrorResponse(ctx echo.Context, status int, err error, msg string) error + func (c *Controller) RenderJSONResponse(ctx echo.Context, resp JSONResponse) error + type JSONResponse struct + Body interface{} + Context echo.Context + Headers map[string]string + Path string + RequestID string + StatusCode int + ToURL func(name string, params ...interface{}) string + URL string + func NewJSONResponse(ctx echo.Context) JSONResponse