router

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer()

func Wrap

func Wrap[TReq any, TRes any](f func(*utils.HttpContext, *TReq) (TRes, error)) echo.HandlerFunc

Types

type CustomBinder

type CustomBinder struct{ echo.DefaultBinder }

func (*CustomBinder) Bind

func (b *CustomBinder) Bind(i interface{}, c echo.Context) error

Bind implements echo.Binder.

type CustomValidator

type CustomValidator struct{}

func (*CustomValidator) Validate

func (cv *CustomValidator) Validate(i interface{}) error

Jump to

Keyboard shortcuts

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