shared

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventPublisherAdapter

func NewEventPublisherAdapter(bus infraEvent.Bus) domainPort.EventPublisher

Types

type EventPublisherAdapter

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

EventPublisherAdapter 事件发布器适配器

func (*EventPublisherAdapter) Publish

type TransactionManagerAdapter

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

TransactionManagerAdapter 事务管理器适配器

func (*TransactionManagerAdapter) Transaction

func (a *TransactionManagerAdapter) Transaction(ctx context.Context, fn func(ctx context.Context) error) error

Jump to

Keyboard shortcuts

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