| 310 | return nil |
| 311 | } |
| 312 | func (h *httpUserInternalAPI) QueryKeyBackup(ctx context.Context, req *api.QueryKeyBackupRequest, res *api.QueryKeyBackupResponse) { |
| 313 | span, ctx := opentracing.StartSpanFromContext(ctx, "QueryKeyBackup") |
| 314 | defer span.Finish() |
| 315 | |
| 316 | apiURL := h.apiURL + QueryKeyBackupPath |
| 317 | err := httputil.PostJSON(ctx, span, h.httpClient, apiURL, req, res) |
| 318 | if err != nil { |
| 319 | res.Error = err.Error() |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | func (h *httpUserInternalAPI) QueryNotifications(ctx context.Context, req *api.QueryNotificationsRequest, res *api.QueryNotificationsResponse) error { |
| 324 | span, ctx := opentracing.StartSpanFromContext(ctx, "QueryNotifications") |