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

Method AddAction

internal/waf/waf.go:390–392  ·  view source on GitHub ↗
(action ActionInterface)

Source from the content-addressed store, hash-verified

388}
389
390func (this *WAF) AddAction(action ActionInterface) {
391 this.actionMap[action.ActionId()] = action
392}
393
394func (this *WAF) FindAction(actionId int64) ActionInterface {
395 return this.actionMap[actionId]

Callers 4

TestWAF_MatchRequestFunction · 0.45
ConvertWAFMethod · 0.45

Calls 1

ActionIdMethod · 0.65

Tested by 3

TestWAF_MatchRequestFunction · 0.36