feat(storage): lab5 implement delayed outbox and attempts tracking

This commit is contained in:
Голиков Maximillian Антон
2026-11-10 13:43:12 +03:00
parent d27a779c20
commit 8fb191fc78
3 changed files with 21 additions and 4 deletions
+1
View File
@@ -51,6 +51,7 @@ type OutboxRepository interface {
Enqueue(ctx context.Context, tx Tx, e *OutboxEntry) error
ClaimBatch(ctx context.Context, limit int) ([]OutboxEntry, error)
MarkPublished(ctx context.Context, ids []string) error
EnqueueDirect(ctx context.Context, e *OutboxEntry) error
}
type AttachmentJobRepository interface {