Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ Now
Method
Now
middleware/limiter/limiter_test.go:35–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(c *testClock) Now() time.Time {
36
c.mu.Lock()
37
defer
c.mu.Unlock()
38
return
c.now
39
}
40
41
func
(c *testClock) Add(d time.Duration) {
42
c.mu.Lock()
Callers
10
sharedTimestamp
Function · 0.45
Test_Logger_TimeUpdaterStopsOnDone
Function · 0.45
Test_Logger_TimestampUpdater_StopsImmediatelyWithoutTimeTag
Function · 0.45
Test_Logger_ByteSent_Streaming
Function · 0.45
Benchmark_Logger
Function · 0.45
Benchmark_Logger_Parallel
Function · 0.45
New
Function · 0.45
startTimestampUpdaterWithStop
Function · 0.45
Test_Limiter_Fixed_ExpirationFuncOverridesStaticExpiration
Function · 0.45
Test_Limiter_Sliding_Window_ExpiresStalePrevHits
Function · 0.45
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected