Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ AddToList
Method
AddToList
internal/caches/storage_interface.go:54–54 ·
view source on GitHub ↗
AddToList 将缓存添加到列表
(item *Item)
Source
from the content-addressed store, hash-verified
52
53
// AddToList 将缓存添加到列表
54
AddToList(item *Item)
55
56
// IgnoreKey 忽略某个Key,即不缓存某个Key
57
IgnoreKey(key string, maxSize int64)
Callers
10
AddToList
Method · 0.65
hotLoop
Method · 0.65
flushItem
Method · 0.65
TestMemoryStorage_Stat
Function · 0.65
TestMemoryStorage_CleanAll
Function · 0.65
TestMemoryStorage_Expire
Function · 0.65
finishWebP
Method · 0.65
finishCache
Method · 0.65
finishCompression
Method · 0.65
handleWriteCache
Method · 0.65
Implementers
2
FileStorage
internal/caches/storage_file.go
MemoryStorage
internal/caches/storage_memory.go
Calls
no outgoing calls
Tested by
3
TestMemoryStorage_Stat
Function · 0.52
TestMemoryStorage_CleanAll
Function · 0.52
TestMemoryStorage_Expire
Function · 0.52