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

Method CaddyModule

modules/caddyhttp/reverseproxy/reverseproxy.go:254–259  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

252
253// CaddyModule returns the Caddy module information.
254func (Handler) CaddyModule() caddy.ModuleInfo {
255 return caddy.ModuleInfo{
256 ID: "http.handlers.reverse_proxy",
257 New: func() caddy.Module { return new(Handler) },
258 }
259}
260
261// Provision ensures that h is set up properly before use.
262func (h *Handler) Provision(ctx caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected