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

Method CaddyModule

modules/caddyhttp/fileserver/matcher.go:118–123  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

116
117// CaddyModule returns the Caddy module information.
118func (MatchFile) CaddyModule() caddy.ModuleInfo {
119 return caddy.ModuleInfo{
120 ID: "http.matchers.file",
121 New: func() caddy.Module { return new(MatchFile) },
122 }
123}
124
125// UnmarshalCaddyfile sets up the matcher from Caddyfile tokens. Syntax:
126//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected