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

Struct MatchServerNameRE

modules/caddytls/matchers.go:268–268  ·  view source on GitHub ↗

MatchServerNameRE matches based on SNI using a regular expression.

Source from the content-addressed store, hash-verified

266
267// MatchServerNameRE matches based on SNI using a regular expression.
268type MatchServerNameRE struct{ MatchRegexp }
269
270// CaddyModule returns the Caddy module information.
271func (MatchServerNameRE) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected