port

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPublisher

type EventPublisher interface {
	Publish(ctx context.Context, e domainEvent.DomainEvent[any]) error
}

EventPublisher 事件发布端口

type TransactionManager

type TransactionManager interface {
	Transaction(ctx context.Context, fn func(ctx context.Context) error) error
}

TransactionManager 事务管理端口

Jump to

Keyboard shortcuts

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