1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

restored nesting in payload for status and symbols

This commit is contained in:
hellerve 2016-11-11 14:34:06 +01:00
parent 2ccfaea405
commit 30e86d086f

View file

@ -65,7 +65,7 @@ func parseStatus(input []byte) Parsed {
res["message"] = line
}
}
return res
return Parsed{"status": res}
}
func parseProtocols(input []byte) Parsed {
@ -105,7 +105,7 @@ func parseSymbols(input []byte) Parsed {
}
}
return res
return Parsed{"symbols": res}
}
func mainRouteDetail(groups []string, route Parsed) Parsed {