Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ Lock
Method
Lock
middleware/idempotency/locker.go:9–9 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
7
// Locker implements a spinlock for a string key.
8
type
Locker
interface
{
9
Lock(key string) error
10
Unlock(key string) error
11
}
12
Callers
15
Read
Method · 0.65
Write
Method · 0.65
Close
Method · 0.65
testGracefulShutdown
Function · 0.65
deleteRoute
Method · 0.65
addRoute
Method · 0.65
ensureAutoHeadRoutes
Method · 0.65
RebuildTree
Method · 0.65
mount
Method · 0.65
mount
Method · 0.65
Test_App_ShutdownWithContext
Function · 0.65
Name
Method · 0.65
Implementers
2
stubLock
middleware/idempotency/stub_test.go
MemoryLock
middleware/idempotency/locker.go
Calls
no outgoing calls
Tested by
15
testGracefulShutdown
Function · 0.52
Test_App_ShutdownWithContext
Function · 0.52
withCapturedLogOutput
Function · 0.52
Now
Method · 0.52
Add
Method · 0.52
SetWithContext
Method · 0.52
DeleteWithContext
Method · 0.52
ResetWithContext
Method · 0.52
Test_Cache_MaxBytes_DeletionFailureRestoresTracking
Function · 0.52
GetWithContext
Method · 0.52
SetWithContext
Method · 0.52
DeleteWithContext
Method · 0.52