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 |
Build
make
Run dependencies
docker-compose down && docker-compose up -d
Run flow
./examples
Execute with curl
curl -d hello localhost:8080/flow/<name>
For example to execute parallel
flow
curl -d hello localhost:8080/flow/parallel