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

Function NewRuleSet

internal/waf/rule_set.go:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func NewRuleSet() *RuleSet {
44 return &RuleSet{
45 IsOn: true,
46 }
47}
48
49func (this *RuleSet) Init(waf *WAF) error {
50 this.hasRules = len(this.Rules) > 0

Calls

no outgoing calls