github.com/TeaOSLab/EdgeNode@v1.3.8/internal/waf/results.go (about)

     1  // Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
     2  
     3  package waf
     4  
     5  // PerformResult action performing result
     6  type PerformResult struct {
     7  	ContinueRequest bool
     8  	GoNextGroup     bool
     9  	GoNextSet       bool
    10  	IsAllowed       bool
    11  	AllowScope      AllowScope
    12  }
    13  
    14  // MatchResult request match result
    15  type MatchResult struct {
    16  	GoNext         bool
    17  	HasRequestBody bool
    18  	Group          *RuleGroup
    19  	Set            *RuleSet
    20  	IsAllowed      bool
    21  	AllowScope     AllowScope
    22  }