Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
func
NewRule() *Rule {
66
return
&Rule{}
67
}
68
69
func
(this *Rule) Init() error {
70
// operator
Callers
5
TestRule_Init_Single
Function · 0.70
TestRule_Init_Composite
Function · 0.70
TestRule_Test
Function · 0.70
TestRule_MatchStar
Function · 0.70
TestRule_SetCheckpointFinder
Function · 0.70
Calls
no outgoing calls
Tested by
5
TestRule_Init_Single
Function · 0.56
TestRule_Init_Composite
Function · 0.56
TestRule_Test
Function · 0.56
TestRule_MatchStar
Function · 0.56
TestRule_SetCheckpointFinder
Function · 0.56