Documentation ¶
Index ¶
- func ExtractParamFromString(paramString string) (param lib.ControllerRouteParam)
- func ExtractParamsFromRoutePath(routePath string) (params []lib.ControllerRouteParam, e error)
- func ExtractQueriesFromRoutePath(routePath string) (string, []lib.ControllerRouteQuery)
- func ExtractQueryStringsFromRoutePath(routePath string) (string, []string)
- func ParseRouteString(route *lib.ControllerRoute, routeString string) error
- func ParseURLQuerySegment(pattern string) lib.ControllerRouteQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractParamFromString ¶
func ExtractParamFromString(paramString string) (param lib.ControllerRouteParam)
func ExtractParamsFromRoutePath ¶
func ExtractParamsFromRoutePath(routePath string) (params []lib.ControllerRouteParam, e error)
func ExtractQueriesFromRoutePath ¶
func ExtractQueriesFromRoutePath(routePath string) (string, []lib.ControllerRouteQuery)
func ParseRouteString ¶
func ParseRouteString(route *lib.ControllerRoute, routeString string) error
func ParseURLQuerySegment ¶
func ParseURLQuerySegment(pattern string) lib.ControllerRouteQuery
ParseURLQuerySegment parses a query segment in a URL query to a lib.ControllerRouteQueryObject
e.g. foo={foo:[0-9]+}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.