mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-24 23:05:17 +08:00
新创建WAF时增加默认选项
This commit is contained in:
@@ -2,7 +2,7 @@ package firewallconfigs
|
||||
|
||||
import "github.com/iwind/TeaGo/maps"
|
||||
|
||||
// 防火墙动作配置
|
||||
// FirewallActionConfig 防火墙动作配置
|
||||
type FirewallActionConfig struct {
|
||||
Id int64 `yaml:"id" json:"id"` // Id
|
||||
Type string `yaml:"type" json:"type"` // 类型
|
||||
@@ -10,7 +10,7 @@ type FirewallActionConfig struct {
|
||||
EventLevel string `yaml:"eventLevel" json:"eventLevel"` // 事件级别
|
||||
}
|
||||
|
||||
// 初始化
|
||||
// Init 初始化
|
||||
func (this *FirewallActionConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user