MCPcopy Create free account
hub / github.com/willnorris/imageproxy / CaddyModule

Method CaddyModule

caddy/module.go:49–54  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

47
48// CaddyModule returns the Caddy module information.
49func (ImageProxy) CaddyModule() caddy.ModuleInfo {
50 return caddy.ModuleInfo{
51 ID: "http.handlers.imageproxy",
52 New: func() caddy.Module { return new(ImageProxy) },
53 }
54}
55
56func (p *ImageProxy) Provision(ctx caddy.Context) error {
57 p.logger = ctx.Logger()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected