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

Method DeleteItem

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

Source from the content-addressed store, hash-verified

44}
45
46func (this *HTTPAPIAction) DeleteItem(listType IPListType, item *pb.IPItem) error {
47 return this.runAction("deleteItem", listType, item)
48}
49
50func (this *HTTPAPIAction) runAction(action string, listType IPListType, item *pb.IPItem) error {
51 if item == nil {

Callers

nothing calls this directly

Calls 1

runActionMethod · 0.95

Tested by

no test coverage detected