Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegRouteFn = reload.BuildValFnWithAnyParams("regexRoute", RegRouteHook)
Functions ¶
func PushRoute ¶
PushRoute path can be const or regex string
eg: `(?P<controller>\w+)/(?P<method>\w+)`, route.Route{ Path: `(?P<controller>\w+)/(?P<method>\w+)`, Scene: constraints.Home, Method: []string{"GET"}, Type: "reg", }
func RegRouteHook ¶
func ResolveRoute ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.