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

Method CaddyModule

modules/caddypki/adminapi.go:41–46  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

39
40// CaddyModule returns the Caddy module information.
41func (adminAPI) CaddyModule() caddy.ModuleInfo {
42 return caddy.ModuleInfo{
43 ID: "admin.api.pki",
44 New: func() caddy.Module { return new(adminAPI) },
45 }
46}
47
48// Provision sets up the adminAPI module.
49func (a *adminAPI) Provision(ctx caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected