Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "vef:approval:behavior", fx.Provide( fx.Annotate( NewTransactionBehavior, fx.ResultTags(`group:"vef:cqrs:behaviors"`), ), ), )
Module provides all CQRS behavior middlewares for the approval module.
Functions ¶
Types ¶
type TransactionBehavior ¶
type TransactionBehavior struct {
// contains filtered or unexported fields
}
TransactionBehavior wraps command handlers in a database transaction. Query handlers bypass the transaction.
Click to show internal directories.
Click to hide internal directories.