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

Method CaddyModule

modules/caddytls/leaffileloader.go:37–42  ·  view source on GitHub ↗

CaddyModule returns the Caddy module information.

()

Source from the content-addressed store, hash-verified

35
36// CaddyModule returns the Caddy module information.
37func (LeafFileLoader) CaddyModule() caddy.ModuleInfo {
38 return caddy.ModuleInfo{
39 ID: "tls.leaf_cert_loader.file",
40 New: func() caddy.Module { return new(LeafFileLoader) },
41 }
42}
43
44// Provision implements caddy.Provisioner.
45func (fl *LeafFileLoader) Provision(ctx caddy.Context) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected