Console API: Subscribe to backend.Stdout.

This commit is contained in:
Kleissner
2022-01-06 04:19:20 +01:00
parent adce6fee5c
commit 0bc0d007a4
4 changed files with 10 additions and 3 deletions

View File

@@ -83,6 +83,8 @@ func main() {
os.Exit(status)
}
backend.Stdout.Subscribe(os.Stdout)
apiListen, apiKey, watchPID := parseCmdParams()
startAPI(backend, apiListen, apiKey)