workflows

package
v0.0.0-...-8a85d09 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchTransferWorkflow

func BatchTransferWorkflow(ctx workflow.Context, request BatchTransferRequest) error

func TransferWorkflow

func TransferWorkflow(ctx workflow.Context, transferRequest AccountTransferRequest) error

Types

type AccountTransferRequest

type AccountTransferRequest struct {
	FromAccountId string
	ToAccountId   string
	ReferenceId   string
	Amount        int
}

type BatchTransferRequest

type BatchTransferRequest struct {
	ToAccountId string
	ReferenceId string
	BatchSize   int
}

type WithdrawSignal

type WithdrawSignal struct {
	FromAccountId string
	ReferenceId   string
	Amount        int
}

Jump to

Keyboard shortcuts

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