MCPcopy 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
70func (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.
75func (c *ValkeyDataCache[K, V]) Cache(

Callers 2

CacheMethod · 0.95
GetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected