Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mpolden/echoip
/ CacheStats
Struct
CacheStats
http/cache.go:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
}
18
19
type
CacheStats
struct
{
20
Capacity int
21
Size int
22
Evictions uint64
23
}
24
25
func
NewCache(capacity int) *Cache {
26
if
capacity < 0 {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected