mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-25 14:36:34 +08:00
实现WAF
This commit is contained in:
15
internal/waf/requests/response.go
Normal file
15
internal/waf/requests/response.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package requests
|
||||
|
||||
import "net/http"
|
||||
|
||||
type Response struct {
|
||||
*http.Response
|
||||
|
||||
BodyData []byte
|
||||
}
|
||||
|
||||
func NewResponse(resp *http.Response) *Response {
|
||||
return &Response{
|
||||
Response: resp,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user