Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(config RouteConfiguration, paths []RouteInterface)
Types ¶
type RouteConfiguration ¶
type RouteInterface ¶
type RouteInterface interface {
Create(RoutePathInterface)
}
type RoutePathInterface ¶
type RoutePathInterface interface { Group(group string, f func(rg RoutePathInterface), m ...echo.MiddlewareFunc) Get(prefix string, f echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route Post(prefix string, f echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route Put(prefix string, f echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route Patch(prefix string, f echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route Delete(prefix string, f echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route }
Click to show internal directories.
Click to hide internal directories.