| 82 | } |
| 83 | |
| 84 | func (h *httpKeyInternalAPI) PerformDeleteKeys( |
| 85 | ctx context.Context, |
| 86 | request *api.PerformDeleteKeysRequest, |
| 87 | response *api.PerformDeleteKeysResponse, |
| 88 | ) { |
| 89 | span, ctx := opentracing.StartSpanFromContext(ctx, "PerformClaimKeys") |
| 90 | defer span.Finish() |
| 91 | |
| 92 | apiURL := h.apiURL + PerformClaimKeysPath |
| 93 | err := httputil.PostJSON(ctx, span, h.httpClient, apiURL, request, response) |
| 94 | if err != nil { |
| 95 | response.Error = &api.KeyError{ |
| 96 | Err: err.Error(), |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | func (h *httpKeyInternalAPI) PerformUploadKeys( |
| 102 | ctx context.Context, |