Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddController ¶
func AddController(server *echo.Echo, controller EchoController)
func AddControllers ¶
func AddControllers(server *echo.Echo, controllers []EchoController)
Types ¶
type Controller ¶
type Controller struct { Method RequestMethod Path string Handler func(c echo.Context) error Body reflect.Type }
func (Controller) GetBodyType ¶
func (c Controller) GetBodyType() reflect.Type
func (Controller) GetHandler ¶
func (c Controller) GetHandler() func(c echo.Context) error
func (Controller) GetMethod ¶
func (c Controller) GetMethod() RequestMethod
func (Controller) GetPath ¶
func (c Controller) GetPath() string
func (Controller) ValidateBody ¶
func (c Controller) ValidateBody() bool
type CustomValidator ¶
func (*CustomValidator) Validate ¶
func (validator *CustomValidator) Validate(i interface{}) error
type EchoController ¶
Click to show internal directories.
Click to hide internal directories.