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

Method Load

storage.go:81–81  ·  view source on GitHub ↗

Load retrieves the value at key.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

79
80 // Load retrieves the value at key.
81 Load(ctx context.Context, key string) ([]byte, error)
82
83 // Delete deletes the named key. If the name is a
84 // directory (i.e. prefix of other keys), all keys

Callers 15

loadAccountMethod · 0.65
GetAccountMethod · 0.65
loadAccountByKeyMethod · 0.65
CleanStorageFunction · 0.65
deleteOldOCSPStaplesFunction · 0.65
deleteExpiredCertsFunction · 0.65
stapleOCSPFunction · 0.65
loadCertResourceMethod · 0.65
LoadMethod · 0.65

Implementers 3

memoryStorageaccount_test.go
recordingStorageaccount_test.go
FileStoragefilestorage.go

Calls

no outgoing calls

Tested by 2

LoadMethod · 0.52