Files
EdgeCommon/pkg/serverconfigs/firewallconfigs/http_firewall_action_allow.go

14 lines
267 B
Go
Raw Normal View History

2020-10-06 21:02:21 +08:00
package firewallconfigs
2024-01-20 21:26:21 +08:00
type AllowScope = string
const (
AllowScopeGroup AllowScope = "group"
AllowScopeServer AllowScope = "server"
AllowScopeGlobal AllowScope = "global"
)
2020-10-06 21:02:21 +08:00
type HTTPFirewallAllowAction struct {
2024-01-20 21:26:21 +08:00
Scope AllowScope `yaml:"scope" json:"scope"`
2020-10-06 21:02:21 +08:00
}