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

Method CaddyModule

logging.go:645–650  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

643
644// CaddyModule returns the Caddy module information.
645func (StdoutWriter) CaddyModule() ModuleInfo {
646 return ModuleInfo{
647 ID: "caddy.logging.writers.stdout",
648 New: func() Module { return new(StdoutWriter) },
649 }
650}
651
652// CaddyModule returns the Caddy module information.
653func (StderrWriter) CaddyModule() ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected