mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
37 lines
574 B
JSON
37 lines
574 B
JSON
{
|
|
"modules": [
|
|
{
|
|
"id": "http",
|
|
"type": "net.http.server",
|
|
"params": {
|
|
"port": 3000
|
|
}
|
|
},
|
|
{
|
|
"id": "udp",
|
|
"type": "net.udp.client",
|
|
"params": {
|
|
"host": "127.0.0.1",
|
|
"port": 8000
|
|
}
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"input": "http",
|
|
"processors": [
|
|
{
|
|
"type":"osc.message.create",
|
|
"params": {
|
|
"address": "{{.URL.Path}}"
|
|
}
|
|
},
|
|
{
|
|
"type": "osc.message.encode"
|
|
}
|
|
],
|
|
"output": "udp"
|
|
}
|
|
]
|
|
}
|