CaddyModule returns the Caddy module information.
()
| 252 | |
| 253 | // CaddyModule returns the Caddy module information. |
| 254 | func (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. |
| 262 | func (h *Handler) Provision(ctx caddy.Context) error { |
nothing calls this directly
no outgoing calls
no test coverage detected