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

Method CaddyModule

modules/caddyhttp/encode/encode.go:61–66  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

59
60// CaddyModule returns the Caddy module information.
61func (Encode) CaddyModule() caddy.ModuleInfo {
62 return caddy.ModuleInfo{
63 ID: "http.handlers.encode",
64 New: func() caddy.Module { return new(Encode) },
65 }
66}
67
68// Provision provisions enc.
69func (enc *Encode) Provision(ctx caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected