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

Method CaddyModule

modules/caddyhttp/map/map.go:57–62  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

55
56// CaddyModule returns the Caddy module information.
57func (Handler) CaddyModule() caddy.ModuleInfo {
58 return caddy.ModuleInfo{
59 ID: "http.handlers.map",
60 New: func() caddy.Module { return new(Handler) },
61 }
62}
63
64// Provision sets up h.
65func (h *Handler) Provision(_ caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected