add the concept of routes input/output

This commit is contained in:
Joel Wetzell
2025-11-19 18:33:04 -06:00
parent 8e0f25abe9
commit 0e903eba2f
11 changed files with 193 additions and 35 deletions

View File

@@ -1,11 +1,26 @@
{
"modules": [
{
"type": "net.tcp.server",
"params": {
"port": 8000,
"framing": "LF"
}
}
]
}
"modules": [
{
"id": "tcp1",
"type": "net.tcp.server",
"params": {
"port": 8000,
"framing": "LF"
}
},
{
"id": "tcp2",
"type": "net.tcp.server",
"params": {
"port": 8001,
"framing": "LF"
}
}
],
"routes": [
{
"input": "tcp1",
"output": "tcp2"
}
]
}