Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChrome/webstatus.dev
/ cacheKey
Method
cacheKey
lib/valkeycache/cache.go:70–72 ·
view source on GitHub ↗
(key K)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(c *ValkeyDataCache[K, V]) cacheKey(key K) string {
71
return
fmt.Sprintf(
"%s-%v"
, c.keyPrefix, key)
72
}
73
74
// Cache stores a value in the cache.
75
func
(c *ValkeyDataCache[K, V]) Cache(
Callers
2
Cache
Method · 0.95
Get
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected