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

Method CaddyModule

logging.go:653–658  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

651
652// CaddyModule returns the Caddy module information.
653func (StderrWriter) CaddyModule() ModuleInfo {
654 return ModuleInfo{
655 ID: "caddy.logging.writers.stderr",
656 New: func() Module { return new(StderrWriter) },
657 }
658}
659
660// CaddyModule returns the Caddy module information.
661func (DiscardWriter) CaddyModule() ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected