feat(storage): lab5 add outbox claim batch and mark published

This commit is contained in:
Голиков Maximillian Антон
2026-11-07 13:56:12 +03:00
parent bc9d69c6e2
commit 70b1b702c7
2 changed files with 46 additions and 0 deletions
+2
View File
@@ -49,4 +49,6 @@ type AttachmentRepository interface {
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
}