CaddyModule returns the Caddy module information.
()
| 47 | |
| 48 | // CaddyModule returns the Caddy module information. |
| 49 | func (Handler) CaddyModule() caddy.ModuleInfo { |
| 50 | return caddy.ModuleInfo{ |
| 51 | ID: "http.handlers.headers", |
| 52 | New: func() caddy.Module { return new(Handler) }, |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | // Provision sets up h's configuration. |
| 57 | func (h *Handler) Provision(ctx caddy.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected