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

Method CaddyModule

modules/logging/filters.go:342–347  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

340
341// CaddyModule returns the Caddy module information.
342func (QueryFilter) CaddyModule() caddy.ModuleInfo {
343 return caddy.ModuleInfo{
344 ID: "caddy.logging.encoders.filter.query",
345 New: func() caddy.Module { return new(QueryFilter) },
346 }
347}
348
349// UnmarshalCaddyfile sets up the module from Caddyfile tokens.
350func (m *QueryFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected