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

Method getDatabaseKey

modules/caddypki/acmeserver/acmeserver.go:253–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251}
252
253func (ash Handler) getDatabaseKey() string {
254 key := ash.CA
255 key = strings.ToLower(key)
256 key = strings.TrimSpace(key)
257 return keyCleaner.ReplaceAllLiteralString(key, "")
258}
259
260// Cleanup implements caddy.CleanerUpper and closes any idle databases.
261func (ash Handler) Cleanup() error {

Callers 2

CleanupMethod · 0.95
openDatabaseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected