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

Method AddItem

internal/iplibrary/action_http_api.go:42–44  ·  view source on GitHub ↗
(listType IPListType, item *pb.IPItem)

Source from the content-addressed store, hash-verified

40}
41
42func (this *HTTPAPIAction) AddItem(listType IPListType, item *pb.IPItem) error {
43 return this.runAction("addItem", listType, item)
44}
45
46func (this *HTTPAPIAction) DeleteItem(listType IPListType, item *pb.IPItem) error {
47 return this.runAction("deleteItem", listType, item)

Callers

nothing calls this directly

Calls 1

runActionMethod · 0.95

Tested by

no test coverage detected