mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
switch to YAML to support both JSON and YAML
This commit is contained in:
18
config.yaml
Normal file
18
config.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user