forked from mirror/websocket
Fix up README.md for command example.
This commit is contained in:
parent
3ab3a8b883
commit
0e7877a5a1
|
@ -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