outbox

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package outbox holds the generic domain-event outbox row (ADR-001 step-6 preparation): appended in the owning domain's transaction, delivered by the in-process dispatcher, consumed idempotently via the inbox.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ID          int64  `gorm:"primaryKey;autoIncrement"`
	Topic       string `gorm:"type:varchar(64);not null"`
	EventKey    string `gorm:"type:varchar(191);not null"`
	Payload     string `gorm:"type:text;not null"`
	CreatedAt   time.Time
	PublishedAt *time.Time
}

func (Event) TableName

func (Event) TableName() string

Jump to

Keyboard shortcuts

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