mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-09 03:50:27 +08:00
24 lines
515 B
Go
24 lines
515 B
Go
|
|
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||
|
|
//go:build !linux
|
||
|
|
// +build !linux
|
||
|
|
|
||
|
|
package firewalls
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/ddosconfigs"
|
||
|
|
)
|
||
|
|
|
||
|
|
var SharedDDoSProtectionManager = NewDDoSProtectionManager()
|
||
|
|
|
||
|
|
type DDoSProtectionManager struct {
|
||
|
|
nftPath string
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewDDoSProtectionManager() *DDoSProtectionManager {
|
||
|
|
return &DDoSProtectionManager{}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (this *DDoSProtectionManager) Apply(config *ddosconfigs.ProtectionConfig) error {
|
||
|
|
return nil
|
||
|
|
}
|