Documentation ¶
Index ¶
- Constants
- func Deposit(ctx context.Context, transferDetails TransferDetails) error
- func DepositCompensation(ctx context.Context, transferDetails TransferDetails) error
- func StepWithError(ctx context.Context, transferDetails TransferDetails) error
- func TransferMoney(ctx workflow.Context, transferDetails TransferDetails) (err error)
- func Withdraw(ctx context.Context, transferDetails TransferDetails) error
- func WithdrawCompensation(ctx context.Context, transferDetails TransferDetails) error
- type TransferDetails
Constants ¶
View Source
const TransferMoneyTaskQueue = "TRANSFER_MONEY_TASK_QUEUE"
Variables ¶
This section is empty.
Functions ¶
func DepositCompensation ¶
func DepositCompensation(ctx context.Context, transferDetails TransferDetails) error
func StepWithError ¶
func StepWithError(ctx context.Context, transferDetails TransferDetails) error
func TransferMoney ¶
func TransferMoney(ctx workflow.Context, transferDetails TransferDetails) (err error)
func WithdrawCompensation ¶
func WithdrawCompensation(ctx context.Context, transferDetails TransferDetails) error
Types ¶
Click to show internal directories.
Click to hide internal directories.