MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / AddItem

Method AddItem

internal/iplibrary/ip_list_db.go:12–12  ·  view source on GitHub ↗
(item *pb.IPItem)

Source from the content-addressed store, hash-verified

10 ReadMaxVersion() (int64, error)
11 ReadItems(offset int64, size int64) (items []*pb.IPItem, goNext bool, err error)
12 AddItem(item *pb.IPItem) error
13}

Callers 7

AddItemMethod · 0.65
TestIPSetAction_AddItemFunction · 0.65
fetchMethod · 0.65
processItemsMethod · 0.65
AddMethod · 0.65

Implementers 2

KVIPListinternal/iplibrary/ip_list_kv.go
SQLiteIPListinternal/iplibrary/ip_list_sqlite.go

Calls

no outgoing calls

Tested by 3

TestIPSetAction_AddItemFunction · 0.52