(ctx context.Context, userID, key, path, bodyHash string)
| 11 | // as an interface so handlers are unit-testable without Postgres. |
| 12 | type IdemStore interface { |
| 13 | Claim(ctx context.Context, userID, key, path, bodyHash string) (idempotency.ClaimResult, error) |
| 14 | Complete(ctx context.Context, userID, key string, resp idempotency.CachedResponse) error |
| 15 | Release(ctx context.Context, userID, key string) error |
| 16 | } |
no outgoing calls