mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-02 22:10:25 +08:00
23 lines
494 B
Go
23 lines
494 B
Go
// Copyright 2022 GoEdge goedge.cdn@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 {
|
|
}
|
|
|
|
func NewDDoSProtectionManager() *DDoSProtectionManager {
|
|
return &DDoSProtectionManager{}
|
|
}
|
|
|
|
func (this *DDoSProtectionManager) Apply(config *ddosconfigs.ProtectionConfig) error {
|
|
return nil
|
|
}
|