mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-07 02:20:25 +08:00
15 lines
263 B
Go
15 lines
263 B
Go
|
|
package waf
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/TeaOSLab/EdgeNode/internal/waf/requests"
|
||
|
|
"net/http"
|
||
|
|
)
|
||
|
|
|
||
|
|
type AllowAction struct {
|
||
|
|
}
|
||
|
|
|
||
|
|
func (this *AllowAction) Perform(waf *WAF, request *requests.Request, writer http.ResponseWriter) (allow bool) {
|
||
|
|
// do nothing
|
||
|
|
return true
|
||
|
|
}
|