Lines Matching refs:resp
104 resp := new(BuilderPollResp)
105 err := dash.Query("builder_poll", req, resp)
106 return resp, err
146 resp := new(JobPollResp)
147 err := dash.Query("job_poll", req, resp)
148 return resp, err
183 resp := new(ReportCrashResp)
184 err := dash.Query("report_crash", crash, resp)
185 return resp, err
201 resp := new(NeedReproResp)
202 err := dash.Query("need_repro", crash, resp)
203 return resp.NeedRepro, err
309 resp := new(PollBugsResponse)
310 if err := dash.Query("reporting_poll_bugs", req, resp); err != nil {
313 return resp, nil
320 resp := new(PollClosedResponse)
321 if err := dash.Query("reporting_poll_closed", req, resp); err != nil {
324 return resp.IDs, nil
328 resp := new(BugUpdateReply)
329 if err := dash.Query("reporting_update", upd, resp); err != nil {
332 return resp, nil
428 resp, err := dash.doer(r)
432 defer resp.Body.Close()
433 if resp.StatusCode != http.StatusOK {
434 data, _ := ioutil.ReadAll(resp.Body)
435 return fmt.Errorf("request failed with %v: %s", resp.Status, data)
438 if err := json.NewDecoder(resp.Body).Decode(reply); err != nil {