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

Method CaddyModule

modules/caddyhttp/matchers.go:834–839  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

832
833// CaddyModule returns the Caddy module information.
834func (MatchQuery) CaddyModule() caddy.ModuleInfo {
835 return caddy.ModuleInfo{
836 ID: "http.matchers.query",
837 New: func() caddy.Module { return new(MatchQuery) },
838 }
839}
840
841// UnmarshalCaddyfile implements caddyfile.Unmarshaler.
842func (m *MatchQuery) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected