CaddyModule returns the Caddy module information.
()
| 45 | |
| 46 | // CaddyModule returns the Caddy module information. |
| 47 | func (adminLoad) CaddyModule() caddy.ModuleInfo { |
| 48 | return caddy.ModuleInfo{ |
| 49 | ID: "admin.api.load", |
| 50 | New: func() caddy.Module { return new(adminLoad) }, |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | // Routes returns a route for the /load endpoint. |
| 55 | func (al adminLoad) Routes() []caddy.AdminRoute { |
nothing calls this directly
no outgoing calls
no test coverage detected