Skip to content

Latest commit

 

History

History

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Samples

This section list a few example that demonstrates different patterns in goflow.

Examples:

Name Description
single Single node
serial Serial sequential nodes
parallel Parallel nodes
condition Conditional nodes
loop Foreach loop nodes

How to run

Build

make

Run dependencies

docker-compose down && docker-compose up -d

Run flow

./examples

How to execute

Execute with curl

curl -d hello localhost:8080/flow/<name>

For example to execute parallel flow

curl -d hello localhost:8080/flow/parallel