samples

command
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT, MulanPSL-2.0 Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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