CurlRequest represents the parameters for a curl request.
| 127 | |
| 128 | // CurlRequest represents the parameters for a curl request. |
| 129 | CurlRequest struct { |
| 130 | Target string `json:"target,omitempty"` |
| 131 | Head bool `json:"head"` |
| 132 | Insecure bool `json:"insecure,omitempty"` |
| 133 | HTTP2 bool `json:"http2,omitempty"` |
| 134 | Nodes NodeIDs `json:"nodes,omitempty"` |
| 135 | Location string `json:"location,omitempty"` |
| 136 | Limit int `json:"limit,omitempty"` |
| 137 | IPVersion int `json:"ipversion,omitempty"` |
| 138 | } |
| 139 | |
| 140 | argError struct { |
| 141 | name string |
nothing calls this directly
no outgoing calls
no test coverage detected