example11

package
v0.0.0-...-4b79851 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityInput

type ActivityInput struct {
	Number int
}

type ActivityOutput

type ActivityOutput struct {
	Even bool
}

func Activity

func Activity(ctx context.Context, input ActivityInput) (ActivityOutput, error)

type WorkflowInput

type WorkflowInput struct {
	Numbers []int
}

type WorkflowOutput

type WorkflowOutput struct {
	Count     int
	CountOdd  int
	CountEven int
	Sum       int
}

func Workflow

func Workflow(ctx workflow.Context, input WorkflowInput) (WorkflowOutput, error)

Jump to

Keyboard shortcuts

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