Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ OnAdd
Method
OnAdd
internal/caches/list_interface.go:46–46 ·
view source on GitHub ↗
OnAdd 添加事件
(f func(item *Item))
Source
from the content-addressed store, hash-verified
44
45
// OnAdd 添加事件
46
OnAdd(f
func
(item *Item))
47
48
// OnRemove 删除事件
49
OnRemove(f
func
(item *Item))
Callers
1
Init
Method · 0.65
Implementers
3
MemoryList
internal/caches/list_memory.go
KVFileList
internal/caches/list_file_kv.go
SQLiteFileList
internal/caches/list_file_sqlite.go
Calls
no outgoing calls
Tested by
no test coverage detected