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

Method Unlock

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

Unlock releases named lock. This method must ONLY be called after a successful call to Lock, and only after the critical section is finished, even if it errored or timed out. Unlock cleans up any resources allocated during Lock. Unlock should only return an error if the lock was unable to be release

(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

148 // cleans up any resources allocated during Lock. Unlock should
149 // only return an error if the lock was unable to be released.
150 Unlock(ctx context.Context, name string) error
151}
152
153type TryLocker interface {

Callers 15

HTTPSFunction · 0.65
PresentMethod · 0.65
CleanUpMethod · 0.65
PresentMethod · 0.65
CleanUpMethod · 0.65
saveDNSPresentMemoryMethod · 0.65
getDNSPresentMemoryMethod · 0.65
GetACMEChallengeFunction · 0.65
PresentMethod · 0.65
CleanUpMethod · 0.65
loopMethod · 0.65

Implementers 3

memoryStorageaccount_test.go
recordingStorageaccount_test.go
FileStoragefilestorage.go

Calls

no outgoing calls