adminLoad is a module that provides the /load endpoint for the Caddy admin API. The only reason it's not baked into the caddy package directly is because of the import of the caddyconfig package for its GetAdapter function. If the caddy package depends on the caddyconfig package, then the caddyconfi
| 42 | // Fortunately, the admin API has first-class support for |
| 43 | // adding endpoints from modules. |
| 44 | type adminLoad struct{} |
| 45 | |
| 46 | // CaddyModule returns the Caddy module information. |
| 47 | func (adminLoad) CaddyModule() caddy.ModuleInfo { |
nothing calls this directly
no outgoing calls
no test coverage detected