mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-04 18:16:35 +08:00
13 lines
455 B
Go
13 lines
455 B
Go
package firewallconfigs
|
|
|
|
// HTTPFirewallBlockAction url client configure
|
|
type HTTPFirewallBlockAction struct {
|
|
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
|
|
|
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"`
|
|
}
|