MCPcopy
hub / github.com/caddyserver/caddy / Match

Method Match

modules/caddytls/connpolicy.go:1065–1065  ·  view source on GitHub ↗
(*tls.ClientHelloInfo)

Source from the content-addressed store, hash-verified

1063// ConnectionMatcher is a type which matches TLS handshakes.
1064type ConnectionMatcher interface {
1065 Match(*tls.ClientHelloInfo) bool
1066}
1067
1068// LeafCertificateLoader is a type that loads the trusted leaf certificates

Callers 3

TestServerNameMatcherFunction · 0.65
MatchMethod · 0.65
TLSConfigMethod · 0.65

Implementers 14

MatchRegexpmodules/caddytls/matchers.go
MatchServerNameREmodules/caddytls/matchers.go
MatchRemoteIPmodules/caddytls/matchers.go
MatchLocalIPmodules/caddytls/matchers.go
MatchRemoteIPmodules/caddyhttp/ip_matchers.go
MatchClientIPmodules/caddyhttp/ip_matchers.go
ResponseMatchermodules/caddyhttp/responsematchers.go
MatchPathREmodules/caddyhttp/matchers.go
MatchTLSmodules/caddyhttp/matchers.go
MatchNotmodules/caddyhttp/matchers.go
MatchRegexpmodules/caddyhttp/matchers.go
MatchExpressionmodules/caddyhttp/celmatcher.go

Calls

no outgoing calls

Tested by 1

TestServerNameMatcherFunction · 0.52