MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / Claim

Method Claim

internal/httpapi/idempotency.go:13–13  ·  view source on GitHub ↗
(ctx context.Context, userID, key, path, bodyHash string)

Source from the content-addressed store, hash-verified

11// as an interface so handlers are unit-testable without Postgres.
12type 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}

Implementers 4

pathRecordingIdeminternal/httpapi/outbound_idem_test.go
statefulIdeminternal/httpapi/webhooks_rotate_idem_
fakeIdeminternal/httpapi/idempotency_test.go
Storeinternal/idempotency/store.go

Calls

no outgoing calls