Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type Configurator func(*echo.Echo) error
Configurator is custom function configurator.
func NewController ¶
func NewController(controllers []Controller) Configurator
NewController is echo configurator constructor.
func NewEcho ¶
func NewEcho(cfg *viper.Viper) Configurator
NewEcho is echo configurator constructor.
func NewErrHandler ¶
func NewErrHandler(logger *zap.Logger) Configurator
NewErrHandler is configurator constructor.
func NewMiddleware ¶
func NewMiddleware(mws []echo.MiddlewareFunc) Configurator
NewMiddleware is echo configurator constructor.
func NewValidator ¶
func NewValidator(v *validator.Validate) Configurator
NewValidator is echo configurator constructor.
type Controller ¶
type Controller interface {
Serve(e *echo.Echo)
}
Controller is a controller interface.
Click to show internal directories.
Click to hide internal directories.