MCPcopy
hub / github.com/caddyserver/caddy / adminLoad

Struct adminLoad

caddyconfig/load.go:44–44  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

42// Fortunately, the admin API has first-class support for
43// adding endpoints from modules.
44type adminLoad struct{}
45
46// CaddyModule returns the Caddy module information.
47func (adminLoad) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected