We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 391a2d3 commit 29c6b4eCopy full SHA for 29c6b4e
hub.go
@@ -57,6 +57,7 @@ func (h *hub) run() {
57
c.send <- []byte("{\"Version\" : \"" + version + "\"} ")
58
c.send <- []byte("{\"Commands\" : [\"list\", \"open [portName] [baud] [bufferAlgorithm (optional)]\", \"send [portName] [cmd]\", \"sendnobuf [portName] [cmd]\", \"close [portName]\", \"bufferalgorithms\", \"baudrates\", \"restart\", \"exit\", \"program [portName] [board:name] [$path/to/filename/without/extension]\", \"programfromurl [portName] [board:name] [urlToHexFile]\"]} ")
59
c.send <- []byte("{\"Hostname\" : \"" + *hostname + "\"} ")
60
+ c.send <- []byte("{\"OS\" : \"" + runtime.GOOS + "\"} ")
61
case c := <-h.unregister:
62
delete(h.connections, c)
63
// put close in func cuz it was creating panics and want
0 commit comments