(status string, statusCode int, proto string, header http.Header, body io.ReadCloser, contentLength int64)
| 15 | } |
| 16 | |
| 17 | func NewHttpResponse(status string, statusCode int, proto string, header http.Header, body io.ReadCloser, contentLength int64) *HttpResponse { |
| 18 | return &HttpResponse{status, statusCode, proto, header, body, contentLength} |
| 19 | } |