MCPcopy
hub / github.com/caddyserver/certmagic / ConfigGetter

FuncType ConfigGetter

cache.go:191–191  ·  view source on GitHub ↗

ConfigGetter is a function that returns a prepared, valid config that should be used when managing the given certificate or its assets.

func(Certificate) (*Config, error)

Source from the content-addressed store, hash-verified

189// valid config that should be used when managing the
190// given certificate or its assets.
191type ConfigGetter func(Certificate) (*Config, error)
192
193// cacheCertificate calls unsyncedCacheCertificate with a write lock.
194//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…