增加国家/地区封禁管理

This commit is contained in:
GoEdgeLab
2020-11-06 11:02:18 +08:00
parent 6ec2b4046d
commit d9b5f9b205
12 changed files with 1326 additions and 174 deletions

View File

@@ -4,6 +4,9 @@ type HTTPFirewallInboundConfig struct {
IsOn bool `yaml:"isOn" json:"isOn"`
GroupRefs []*HTTPFirewallRuleGroupRef `yaml:"groupRefs" json:"groupRefs"`
Groups []*HTTPFirewallRuleGroup `yaml:"groups" json:"groups"`
// 地区相关
Region *HTTPFirewallRegionConfig `yaml:"region" json:"region"`
}
// 初始化