MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / AddItem

Method AddItem

internal/iplibrary/action_script.go:37–39  ·  view source on GitHub ↗
(listType IPListType, item *pb.IPItem)

Source from the content-addressed store, hash-verified

35}
36
37func (this *ScriptAction) AddItem(listType IPListType, item *pb.IPItem) error {
38 return this.runAction("addItem", listType, item)
39}
40
41func (this *ScriptAction) DeleteItem(listType IPListType, item *pb.IPItem) error {
42 return this.runAction("deleteItem", listType, item)

Callers 1

TestScriptAction_AddItemFunction · 0.95

Calls 1

runActionMethod · 0.95

Tested by 1

TestScriptAction_AddItemFunction · 0.76