将请求的一些方法改为可exported,方便以后扩展

This commit is contained in:
GoEdgeLab
2021-12-30 11:19:11 +08:00
parent 67213a1604
commit 2a7dbd3c41
18 changed files with 224 additions and 91 deletions

View File

@@ -11,7 +11,7 @@ func (this *HTTPRequest) doSubRequest(writer http.ResponseWriter, rawReq *http.R
RawReq: rawReq,
RawWriter: writer,
Server: this.Server,
Host: this.Host,
host: this.host,
ServerName: this.ServerName,
ServerAddr: this.ServerAddr,
IsHTTP: this.IsHTTP,