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