Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithdrawWorkflow ¶
func WithdrawWorkflow(ctx workflow.Context, request CreateWithdrawOrderRequest) error
Types ¶
type CreateWithdrawOrderRequest ¶
type CreateWithdrawOrderRequest struct {
Amount int
}
type WithdrawOrder ¶
func ApproveActivity ¶
func ApproveActivity(ctx context.Context, request *Order) (*WithdrawOrder, error)
func CreateWithdrawOrderActivity ¶
func CreateWithdrawOrderActivity(ctx context.Context, request CreateWithdrawOrderRequest) (*WithdrawOrder, error)
Click to show internal directories.
Click to hide internal directories.