Files
EdgeCommon/pkg/serverconfigs/firewallconfigs/firewall_action_config.go
2022-05-21 18:57:59 +08:00

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
}