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

13 lines
455 B
Go
Raw Normal View History

2020-10-06 21:02:21 +08:00
package firewallconfigs
2021-07-14 22:46:31 +08:00
// HTTPFirewallBlockAction url client configure
2020-10-06 21:02:21 +08:00
type HTTPFirewallBlockAction struct {
IsPrior bool `yaml:"isPrior" json:"isPrior"`
2021-10-19 10:28:18 +08:00
StatusCode int `yaml:"statusCode" json:"statusCode"`
Body string `yaml:"body" json:"body"` // supports HTML
URL string `yaml:"url" json:"url"`
Timeout int32 `yaml:"timeout" json:"timeout"`
Scope FirewallScope `yaml:"scope" json:"scope"`
2020-10-06 21:02:21 +08:00
}