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

Function NewRule

internal/waf/rule.go:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func NewRule() *Rule {
66 return &Rule{}
67}
68
69func (this *Rule) Init() error {
70 // operator

Callers 5

TestRule_Init_SingleFunction · 0.70
TestRule_Init_CompositeFunction · 0.70
TestRule_TestFunction · 0.70
TestRule_MatchStarFunction · 0.70

Calls

no outgoing calls

Tested by 5

TestRule_Init_SingleFunction · 0.56
TestRule_Init_CompositeFunction · 0.56
TestRule_TestFunction · 0.56
TestRule_MatchStarFunction · 0.56