MCPcopy Create free account
hub / github.com/caddyserver/caddy / CaddyModule

Method CaddyModule

modules/caddyhttp/matchers.go:402–407  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

400
401// CaddyModule returns the Caddy module information.
402func (MatchPath) CaddyModule() caddy.ModuleInfo {
403 return caddy.ModuleInfo{
404 ID: "http.matchers.path",
405 New: func() caddy.Module { return new(MatchPath) },
406 }
407}
408
409// Provision lower-cases the paths in m to ensure case-insensitive matching.
410func (m MatchPath) Provision(_ caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected