Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/caddyserver/caddy
/ Match
Method
Match
modules/caddyhttp/caddyhttp.go:44–44 ·
view source on GitHub ↗
(*http.Request)
Source
from the content-addressed store, hash-verified
42
// but keep your Match() methods for backwards compatibility.
43
type
RequestMatcher
interface
{
44
Match(*http.Request) bool
45
}
46
47
// RequestMatcherWithError is like RequestMatcher but can return an error.
Callers
15
TestResponseMatcher
Function · 0.65
Match
Method · 0.65
MatchWithError
Method · 0.65
MatchWithError
Method · 0.65
matchPatternWithEscapeSequence
Method · 0.65
MatchWithError
Method · 0.65
MatchWithError
Method · 0.65
CELMatcherDecorator
Function · 0.65
CELMatcherRuntimeFunction
Function · 0.65
MatchWithError
Method · 0.65
ServeHTTP
Method · 0.65
Match
Method · 0.65
Implementers
14
MatchRegexp
modules/caddytls/matchers.go
MatchServerNameRE
modules/caddytls/matchers.go
MatchRemoteIP
modules/caddytls/matchers.go
MatchLocalIP
modules/caddytls/matchers.go
MatchRemoteIP
modules/caddyhttp/ip_matchers.go
MatchClientIP
modules/caddyhttp/ip_matchers.go
ResponseMatcher
modules/caddyhttp/responsematchers.go
MatchPathRE
modules/caddyhttp/matchers.go
MatchTLS
modules/caddyhttp/matchers.go
MatchNot
modules/caddyhttp/matchers.go
MatchRegexp
modules/caddyhttp/matchers.go
MatchExpression
modules/caddyhttp/celmatcher.go
Calls
no outgoing calls
Tested by
2
TestResponseMatcher
Function · 0.52
TestFileRotationPreserveMode
Function · 0.52