queryparser

package
v1.8.94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 ExtractQueryStringsFromRoutePath

func ExtractQueryStringsFromRoutePath(routePath string) (string, []string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL