package
0.15.1
Repository: https://github.com/cisco-open/go-lanai.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PatternFromURL convert relative URL to pattern by necessary operations, such as remove #fragment portion.
RequestHasForm matches http.Request that have non-empty value with given parameter in query or post body.
No description provided by the author
RequestHasPostForm matches http.Request that have non-empty value with given parameter in query or post body.
RequestWithForm matches http.Request that have matching param-value pair in query or post body.
No description provided by the author
RequestWithHost TODO support wildcard.
No description provided by the author
RequestWithPattern create a web.RequestMatcher with path pattern.
RequestWithPrefix create a web.RequestMatcher with prefix if context is available when performing the match, the context path is striped.
RequestWithRegex create a web.RequestMatcher with regular expression if context is available when performing the match, the context path is striped.
RequestWithURL is similar with RequestWithPattern, but instead it takes a relative URL path and convert it to pattern by extracting "path" part (remove #fragment, ?query and more).
No description provided by the author
No description provided by the author
RouteWithPattern checks web.Route's path with prefix The prefix syntax is: prefix: { term } term: '*' matches any sequence of non-path-separators '**' matches any sequence of characters, including path separators.
No description provided by the author
No description provided by the author
RouteWithURL is similar with RouteWithPattern, but instead it takes a relative URL path and convert it to pattern by extracting "path" part (remove #fragment, ?query and more).