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

Method Store

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

Store puts value at key. It creates the key if it does not exist and overwrites any existing value at this key.

(ctx context.Context, key string, value []byte)

Source from the content-addressed store, hash-verified

76 // Store puts value at key. It creates the key if it does
77 // not exist and overwrites any existing value at this key.
78 Store(ctx context.Context, key string, value []byte) error
79
80 // Load retrieves the value at key.
81 Load(ctx context.Context, key string) ([]byte, error)

Callers 9

PresentMethod · 0.65
storeTxFunction · 0.65
updateARIMethod · 0.65
CleanStorageFunction · 0.65
stapleOCSPFunction · 0.65
StoreMethod · 0.65
checkStorageMethod · 0.65

Implementers 3

memoryStorageaccount_test.go
recordingStorageaccount_test.go
FileStoragefilestorage.go

Calls

no outgoing calls

Tested by 2

StoreMethod · 0.52