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

Method CaddyModule

logging.go:661–666  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

659
660// CaddyModule returns the Caddy module information.
661func (DiscardWriter) CaddyModule() ModuleInfo {
662 return ModuleInfo{
663 ID: "caddy.logging.writers.discard",
664 New: func() Module { return new(DiscardWriter) },
665 }
666}
667
668func (StdoutWriter) String() string { return "stdout" }
669func (StderrWriter) String() string { return "stderr" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected