Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gofiber/fiber
/ Now
Method
Now
middleware/cache/cache_test.go:45–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(c *testClock) Now() time.Time {
46
c.mu.Lock()
47
defer
c.mu.Unlock()
48
return
c.now
49
}
50
51
func
(c *testClock) Add(d time.Duration) {
52
c.mu.Lock()
Callers
15
Test_App_serverErrorHandler_Unsupported_Method_Request
Function · 0.45
Test_Ctx_Cookie
Function · 0.45
TestStandardClientTransportCoverage
Function · 0.45
Test_Client_HostClient_Behavior
Function · 0.45
Test_Client_LBClient_Behavior
Function · 0.45
Test_Client_CookieJar_Response
Function · 0.45
getCookiesByHost
Method · 0.45
cookiesForRequest
Method · 0.45
SetByHost
Method · 0.45
parseCookiesFromResp
Method · 0.45
Test_CookieJarGetExpired
Function · 0.45
Test_CookieJarHostEvictionIsDeterministic
Function · 0.45
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected