mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
17 lines
506 B
Go
17 lines
506 B
Go
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
|
|
}
|