FindEventActions 查找事件对应的动作
(eventLevel string)
| 110 | |
| 111 | // FindEventActions 查找事件对应的动作 |
| 112 | func (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动作 |
| 119 | func (this *ActionManager) AddItem(listType IPListType, item *pb.IPItem) { |
no test coverage detected