Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodPair ¶
type MethodPair struct {
Action string
Compensate string
ProtoMsg protoreflect.ProtoMessage
}
type TransactionActor ¶
type TransactionActor interface {
ExecuteSaga(ctx context.Context, methodPairs ...MethodPair) error
ExecuteMsg(ctx context.Context, methodPair ...MethodPair) error
}
func NewTransactionActor ¶
func NewTransactionActor(dtmAddr, grpcAddr string) TransactionActor
Click to show internal directories.
Click to hide internal directories.