Documentation ¶
Index ¶
- Constants
- func ChaosMonkey() error
- func Deposit(ctx context.Context, transferDetails TransferDetails) error
- func DepositCompensation(ctx context.Context, transferDetails TransferDetails) error
- func SetRetryPolicy(maxAttempts int) *temporal.RetryPolicy
- 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 ChaosMonkey ¶
func ChaosMonkey() error
func DepositCompensation ¶
func DepositCompensation(ctx context.Context, transferDetails TransferDetails) error
func SetRetryPolicy ¶
func SetRetryPolicy(maxAttempts int) *temporal.RetryPolicy
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.