Versions in this module Expand all Collapse all v0 v0.0.2 Aug 2, 2024 v0.0.1 Aug 2, 2024 Changes in this version + func GetBooleanValueWithDefault(ctx echo.Context, key string, defaultValue bool) bool + func GetIntValueFromAnywhere(ctx echo.Context, key string) int + func GetIntValueWithDefault(ctx echo.Context, key string, defaultValue int) int + func GetMapValueFromBody(ctx echo.Context) (map[string]interface{}, error) + func GetParamIntValue(ctx echo.Context, key string) int + func GetRouterPath(matches []string, method reflect.Method) string + func GetValue(ctx echo.Context, key string) string + func GetValueFromAnywhere(ctx echo.Context, key string) string + func GetValueWithDefault(ctx echo.Context, key, defaultValue string) string + func HandlerExtraRouterFunc(controller interface{}, method reflect.Method) echo.HandlerFunc + func HandlerFunc(controller interface{}, method reflect.Method) echo.HandlerFunc + type Application struct + func New(r *echo.Group) *Application + func (app *Application) Handle(controller interface{}) + func (app *Application) Prefix(prefix string) *Application + type DataResponse struct + Code int + Data interface{} + type EmptyResponse struct + Code int + type ExtraRouter interface + AddRouter func(method, path, methodName string) + GetItems func() []RouterItem + func NewExtraRouter() ExtraRouter + type PageRespMessage struct + List interface{} + PageCount int + PageIndex int + TotalCount int + type RegisterRouter interface + RegisterRouter func(routers ExtraRouter) + type RespMessage struct + Code int + Data interface{} + Err error + Template string + Text string + func (e RespMessage) Dispatch(ctx echo.Context) + type Result interface + Dispatch func(ctx echo.Context) + func Error(code int, err error) Result + func ErrorHtml(code int, err error) Result + func Ok(data interface{}) Result + func OkHtml(template string, data interface{}) Result + type RouterItem struct + type TextResponse struct + Code int + Message string