repository

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package repository provides data persistence implementations for outbox entities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutboxEventRepository

type OutboxEventRepository struct {
	// contains filtered or unexported fields
}

OutboxEventRepository handles outbox event persistence

func NewOutboxEventRepository

func NewOutboxEventRepository(db *sql.DB, driver string) *OutboxEventRepository

NewOutboxEventRepository creates a new OutboxEventRepository

func (*OutboxEventRepository) Create

Create inserts a new outbox event

func (*OutboxEventRepository) GetPendingEvents

func (r *OutboxEventRepository) GetPendingEvents(ctx context.Context, limit int) ([]*domain.OutboxEvent, error)

GetPendingEvents retrieves pending events with limit

func (*OutboxEventRepository) Update

Update updates an outbox event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL