Versions in this module Expand all Collapse all v0 v0.1.0 Sep 14, 2026 Changes in this version + func BindHeadersAndValidate[T any](ctx *echo.Context) (T, error) + func BindPathAndValidate[T any](ctx *echo.Context) (T, error) + func BindPositivePathID[ID positiveInteger](ctx *echo.Context) (ID, error) + func BindProblemRule() problem.Rule + func BindQueryAndValidate[T any](ctx *echo.Context) (T, error) + func Created(ctx *echo.Context, location string, value any) error + func Data(ctx *echo.Context, status int, value any) error + func DecodeAndValidateJSON[T any](ctx *echo.Context, opts ...request.JSONOption) (T, error) + func DecodeJSON[T any](ctx *echo.Context, opts ...request.JSONOption) (T, error) + func Make(cfg Config) (*echo.Echo, error) + func MakeErrorHandler(m *problem.Mapper) echo.HTTPErrorHandler + func MakeProblemMapper(rules ...problem.Rule) (*problem.Mapper, error) + func OK(ctx *echo.Context, value any) error + func Page[Item any](ctx *echo.Context, items []Item, total uint64, current page.Page) error + func Ping(ctx *echo.Context) error + func Write(ctx *echo.Context, resp response.Response) error + type BindError struct + Code string + Message string + Path string + Source BindSource + func (e *BindError) Error() string + func (e *BindError) Unwrap() error + type BindSource string + const BindSourceHeader + const BindSourcePath + const BindSourceQuery + type Binder func(*echo.Context) (T, error) + type BoundHandler struct + func (h BoundHandler[First]) Bind[Second any](bind Binder[Second]) BoundHandler2[First, Second] + func (h BoundHandler[First]) Headers[Second any]() BoundHandler2[First, Second] + func (h BoundHandler[First]) JSON[Second any](opts ...request.JSONOption) BoundHandler2[First, Second] + func (h BoundHandler[First]) PositivePathID[ID positiveInteger]() BoundHandler2[First, ID] + func (h BoundHandler[First]) Query[Second any]() BoundHandler2[First, Second] + func (h BoundHandler[Input]) Created[Result any](execute func(context.Context, Input) (Result, error), ...) error + func (h BoundHandler[Input]) Data[Result any](execute func(context.Context, Input) (Result, error)) error + func (h BoundHandler[Input]) NoContent(execute func(context.Context, Input) error) error + type BoundHandler2 struct + func (h BoundHandler2[First, Second]) Created[Result any](execute func(context.Context, First, Second) (Result, error), ...) error + func (h BoundHandler2[First, Second]) Data[Result any](execute func(context.Context, First, Second) (Result, error)) error + func (h BoundHandler2[First, Second]) NoContent(execute func(context.Context, First, Second) error) error + type Config struct + BodyLimit int64 + Echo *echo.Echo + HTTPErrorHandler echo.HTTPErrorHandler + Logger *slog.Logger + Middleware []echo.MiddlewareFunc + ProblemMapper *problem.Mapper + ProblemRules []problem.Rule + Validator echo.Validator + type EnumStringable interface + FromString func(string) error + type EnumValid interface + Valid func() bool + type Handler struct + func MakeHandler(ctx *echo.Context) Handler + func (h Handler) Bind[T any](bind Binder[T]) BoundHandler[T] + func (h Handler) Headers[T any]() BoundHandler[T] + func (h Handler) JSON[T any](opts ...request.JSONOption) BoundHandler[T] + func (h Handler) PositivePathID[ID positiveInteger]() BoundHandler[ID] + func (h Handler) Query[T any]() BoundHandler[T] + type InvalidField struct + Code string + Message string + Path string + type ListInput struct + Sort sortby.Order[Field] + type PageInput struct + Filters Filters + Page page.Page + type RequestConfig struct + Page page.Config + type Requests struct + func MakeRequests(cfg RequestConfig) (*Requests, error) + func (r *Requests) BindListQuery[Filters, Field any, FieldPtr interface{ ... }](ctx *echo.Context) (ListInput[Filters, Field], error) + func (r *Requests) BindPageQuery[Filters any](ctx *echo.Context) (PageInput[Filters], error) + type ValidationError struct + func (e *ValidationError) Error() string + func (e *ValidationError) InvalidFields() []InvalidField + func (e *ValidationError) Unwrap() error + type Validator struct + func MakeValidator() (*Validator, error) + func (v *Validator) GoPlayground() *validator.Validate + func (v *Validator) Translator() ut.Translator + func (v *Validator) Validate(value any) error