Documentation ¶
Index ¶
- func AddGroupNamer(namers ...func(string) string)
- func Apply()
- func Clear()
- func HandlerWithRequest(handler interface{}, requests interface{}, methods ...string) echo.Handler
- func Host(hostName string, middlewares ...interface{}) route.Hoster
- func IRegister() route.IRegister
- func Logger() logger.Logger
- func MakeHandler(handler interface{}, requests ...interface{}) echo.Handler
- func MetaHandler(handler interface{}, m echo.H, requests ...interface{}) echo.Handler
- func MetaHandlerWithRequest(handler interface{}, m echo.H, requests interface{}, methods ...string) echo.Handler
- func Pre(middlewares ...interface{})
- func PreToGroup(groupName string, middlewares ...interface{})
- func Prefix() string
- func Register(fn func(echo.RouteRegister))
- func RegisterToGroup(groupName string, fn func(echo.RouteRegister), middlewares ...interface{}) route.MetaSetter
- func Routes() []*echo.Route
- func SetPrefix(prefix string)
- func SetRootGroup(groupName string)
- func Use(middlewares ...interface{})
- func UseToGroup(groupName string, middlewares ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGroupNamer ¶
func HandlerWithRequest ¶
func MakeHandler ¶
func MetaHandler ¶
func MetaHandlerWithRequest ¶
func PreToGroup ¶
func PreToGroup(groupName string, middlewares ...interface{})
func Register ¶
func Register(fn func(echo.RouteRegister))
func RegisterToGroup ¶
func RegisterToGroup(groupName string, fn func(echo.RouteRegister), middlewares ...interface{}) route.MetaSetter
func SetRootGroup ¶
func SetRootGroup(groupName string)
func UseToGroup ¶
func UseToGroup(groupName string, middlewares ...interface{})
UseToGroup “@”符号代表后台网址前缀
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.