1.4.5.2
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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"` // 类型
|
||||
Params maps.Map `yaml:"params" json:"params"` // 参数
|
||||
EventLevel string `yaml:"eventLevel" json:"eventLevel"` // 事件级别
|
||||
}
|
||||
|
||||
// Init 初始化
|
||||
func (this *FirewallActionConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user