helloworld

package
v0.0.0-...-9300d51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const TransferMoneyTaskQueue = "TRANSFER_MONEY_TASK_QUEUE"

Variables

This section is empty.

Functions

func Deposit

func Deposit(ctx context.Context, transferDetails TransferDetails) error

func TransferMoney

func TransferMoney(ctx workflow.Context, transferDetails TransferDetails) error

func Withdraw

func Withdraw(ctx context.Context, transferDetails TransferDetails) error

Types

type TransferDetails

type TransferDetails struct {
	Amount      float32
	FromAccount string
	ToAccount   string
	ReferenceID string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL