Files
EdgeCommon/pkg/serverconfigs/firewallconfigs/http_firewall_action_block.go
2021-10-19 10:28:18 +08:00

11 lines
408 B
Go

package firewallconfigs
// HTTPFirewallBlockAction url client configure
type HTTPFirewallBlockAction struct {
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"`
}