(urlStr *string, parameters []string)
| 216 | } |
| 217 | |
| 218 | func addParameters(urlStr *string, parameters []string) { |
| 219 | for _, p := range parameters { |
| 220 | if p == "" { |
| 221 | continue |
| 222 | } |
| 223 | if !strings.Contains(*urlStr, "?") { |
| 224 | *urlStr += "?" |
| 225 | } else { |
| 226 | *urlStr += Config.QuerySeparator |
| 227 | } |
| 228 | *urlStr += p |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | func firstRequest(rp requestParams) (body []byte, respStatusCode int, repRequest reportRequest, respHeaders map[string][]string, err error) { |
| 233 | req := fasthttp.AcquireRequest() |