| 28 | } |
| 29 | |
| 30 | type HTTPRequest struct { |
| 31 | req *http.Request |
| 32 | |
| 33 | cacheKey string |
| 34 | responseData any |
| 35 | weight int |
| 36 | } |
| 37 | |
| 38 | func NewHTTPRequest(req *http.Request) *HTTPRequest { |
| 39 | return &HTTPRequest{req: req} |
nothing calls this directly
no outgoing calls
no test coverage detected