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

10 lines
326 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 {
StatusCode int `yaml:"statusCode" json:"statusCode"`
Body string `yaml:"body" json:"body"` // supports HTML
URL string `yaml:"url" json:"url"`
2021-07-18 16:26:45 +08:00
Timeout int32 `yaml:"timeout" json:"timeout"`
2020-10-06 21:02:21 +08:00
}