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

Method CaddyModule

modules/logging/appendencoder.go:65–70  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

63
64// CaddyModule returns the Caddy module information.
65func (AppendEncoder) CaddyModule() caddy.ModuleInfo {
66 return caddy.ModuleInfo{
67 ID: "caddy.logging.encoders.append",
68 New: func() caddy.Module { return new(AppendEncoder) },
69 }
70}
71
72// Provision sets up the encoder.
73func (fe *AppendEncoder) Provision(ctx caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected