Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventPublisherAdapter ¶
func NewEventPublisherAdapter(bus infraEvent.Bus) domainPort.EventPublisher
func NewTransactionManagerAdapter ¶
func NewTransactionManagerAdapter(tx infraTx.TransactionManager) domainPort.TransactionManager
Types ¶
type EventPublisherAdapter ¶
type EventPublisherAdapter struct {
// contains filtered or unexported fields
}
EventPublisherAdapter 事件发布器适配器
func (*EventPublisherAdapter) Publish ¶
func (a *EventPublisherAdapter) Publish(ctx context.Context, e domainEvent.DomainEvent[any]) error
type TransactionManagerAdapter ¶
type TransactionManagerAdapter struct {
// contains filtered or unexported fields
}
TransactionManagerAdapter 事务管理器适配器
func (*TransactionManagerAdapter) Transaction ¶
Click to show internal directories.
Click to hide internal directories.