forked from mirror/websocket
Merge pull request #199 from AndrienkoAleksandr/master
Fix up README.md for command example.
This commit is contained in:
commit
404e6b135d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
This example connects a websocket connection to stdin and stdout of a command.
|
This example connects a websocket connection to stdin and stdout of a command.
|
||||||
Received messages are written to stdin followed by a `\n`. Each line read from
|
Received messages are written to stdin followed by a `\n`. Each line read from
|
||||||
from standard out is sent as a message to the client.
|
standard out is sent as a message to the client.
|
||||||
|
|
||||||
$ go get github.com/gorilla/websocket
|
$ go get github.com/gorilla/websocket
|
||||||
$ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command`
|
$ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command`
|
||||||
|
|
Loading…
Reference in New Issue