Files
EdgeNode/internal/waf/action_allow.go

15 lines
263 B
Go
Raw Normal View History

2020-10-08 15:06:42 +08:00
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
}