MCPcopy Create free account
hub / github.com/caddyserver/caddy / CaddyModule

Method CaddyModule

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

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

45
46// CaddyModule returns the Caddy module information.
47func (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.
55func (al adminLoad) Routes() []caddy.AdminRoute {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected