增加若干API/增加多个网站功能项

This commit is contained in:
GoEdgeLab
2023-12-20 15:09:09 +08:00
parent 09031c6868
commit fdec24a889
18 changed files with 1286 additions and 540 deletions

View File

@@ -8,6 +8,7 @@ const DefaultMaxRequestBodySize int64 = 256 << 10
type HTTPFirewallPolicy struct {
Id int64 `yaml:"id" json:"id"`
IsOn bool `yaml:"isOn" json:"isOn"`
ServerId int64 `yaml:"serverId" json:"serverId"` // 所属网站ID
Name string `yaml:"name" json:"name"`
Description string `yaml:"description" json:"description"`
Inbound *HTTPFirewallInboundConfig `yaml:"inbound" json:"inbound"`