CaddyModule returns the Caddy module information.
()
| 41 | |
| 42 | // CaddyModule returns the Caddy module information. |
| 43 | func (adminUpstreams) CaddyModule() caddy.ModuleInfo { |
| 44 | return caddy.ModuleInfo{ |
| 45 | ID: "admin.api.reverse_proxy", |
| 46 | New: func() caddy.Module { return new(adminUpstreams) }, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | // Routes returns a route for the /reverse_proxy/upstreams endpoint. |
| 51 | func (al adminUpstreams) Routes() []caddy.AdminRoute { |
nothing calls this directly
no outgoing calls
no test coverage detected