mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-16 07:46:36 +08:00
实现WAF
This commit is contained in:
13
internal/waf/action_log.go
Normal file
13
internal/waf/action_log.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package waf
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeNode/internal/waf/requests"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type LogAction struct {
|
||||
}
|
||||
|
||||
func (this *LogAction) Perform(waf *WAF, request *requests.Request, writer http.ResponseWriter) (allow bool) {
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user