package
0.2.0-beta-5
Repository: https://github.com/kontesthq/go-security.git
Documentation: pkg.go.dev

# Functions

Match creates a MatchResult that indicates a successful match with no variables.
No description provided by the author
NewAntPathRequestMatcher creates a matcher with the specific pattern which will match all HTTP methods in a case-sensitive manner.
NewAntPathRequestMatcherWithHttpMethod creates a matcher HTTP method which will match all HTTP methods in a case-sensitive manner.
NewAntPathRequestMatcherWithPatternAndHttpMethod creates a matcher with the specific pattern and HTTP method in a case-sensitive manner.
NewAntPathRequestMatcherWithPatternAndHttpMethodAndCaseSensitive creates a matcher with the specific pattern, HTTP method and case sensitivity.
NewAntPathRequestMatcherWithPatternAndHttpMethodAndCaseSensitiveAndMatcher creates a matcher with the specific pattern, HTTP method, case sensitivity and matcher.
NewMatchResult creates a new MatchResult indicating a match.
No description provided by the author
No description provided by the author
NotMatch creates a MatchResult that indicates no match.

# Constants

No description provided by the author

# Structs

No description provided by the author
MatchResult represents the result of matching an HTTP request.
No description provided by the author
No description provided by the author

# Interfaces

Matcher interface defines methods for matching paths and extracting variables.
RequestMatcher defines an interface for matching HTTP requests.