mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-08 03:00:27 +08:00
23 lines
516 B
Go
23 lines
516 B
Go
|
|
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||
|
|
|
||
|
|
package waf
|
||
|
|
|
||
|
|
// PerformResult action performing result
|
||
|
|
type PerformResult struct {
|
||
|
|
ContinueRequest bool
|
||
|
|
GoNextGroup bool
|
||
|
|
GoNextSet bool
|
||
|
|
IsAllowed bool
|
||
|
|
AllowScope AllowScope
|
||
|
|
}
|
||
|
|
|
||
|
|
// MatchResult request match result
|
||
|
|
type MatchResult struct {
|
||
|
|
GoNext bool
|
||
|
|
HasRequestBody bool
|
||
|
|
Group *RuleGroup
|
||
|
|
Set *RuleSet
|
||
|
|
IsAllowed bool
|
||
|
|
AllowScope AllowScope
|
||
|
|
}
|