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

Method FindEventActions

internal/iplibrary/action_manager.go:112–116  ·  view source on GitHub ↗

FindEventActions 查找事件对应的动作

(eventLevel string)

Source from the content-addressed store, hash-verified

110
111// FindEventActions 查找事件对应的动作
112func (this *ActionManager) FindEventActions(eventLevel string) []ActionInterface {
113 this.locker.Lock()
114 defer this.locker.Unlock()
115 return this.eventMap[eventLevel]
116}
117
118// AddItem 执行添加IP动作
119func (this *ActionManager) AddItem(listType IPListType, item *pb.IPItem) {

Callers 1

checkWAFRemoteAddrMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected