Documentation
¶
Index ¶
- func DefaultInputBinder[T any](c echo.Context) (T, error)
- func NewHandler[T any](inputHandler Handler[T], opts ...Option[T]) echo.HandlerFunc
- func NewValidateHandler[T any](inputHandler Handler[T], validate *validator.Validate, opts ...Option[T]) echo.HandlerFunc
- type Handler
- type InputBinder
- type InputValidator
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler[T any](inputHandler Handler[T], opts ...Option[T]) echo.HandlerFunc
func NewValidateHandler ¶
Types ¶
type InputValidator ¶
type Option ¶
type Option[T any] func(*handler[T])
func WithInputBinder ¶
func WithInputBinder[T any](inputBinder InputBinder[T]) Option[T]
func WithInputValidator ¶
func WithInputValidator[T any](inputValidator InputValidator[T]) Option[T]
Click to show internal directories.
Click to hide internal directories.