(ctx context.Context, id string)
| 411 | } |
| 412 | |
| 413 | func (m queryMetricsStore) DeleteAPIKeyByID(ctx context.Context, id string) error { |
| 414 | start := time.Now() |
| 415 | r0 := m.s.DeleteAPIKeyByID(ctx, id) |
| 416 | m.queryLatencies.WithLabelValues("DeleteAPIKeyByID").Observe(time.Since(start).Seconds()) |
| 417 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "DeleteAPIKeyByID").Inc() |
| 418 | return r0 |
| 419 | } |
| 420 | |
| 421 | func (m queryMetricsStore) DeleteAPIKeysByUserID(ctx context.Context, userID uuid.UUID) error { |
| 422 | start := time.Now() |
nothing calls this directly
no test coverage detected