Commit 32734f46 authored by Olivier Duperray's avatar Olivier Duperray Committed by Rob Pike

websocket: fix a trivial example server

R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/5491063
parent bd9243da
...@@ -74,7 +74,7 @@ A trivial example server: ...@@ -74,7 +74,7 @@ A trivial example server:
http.Handle("/echo", websocket.Handler(EchoServer)); http.Handle("/echo", websocket.Handler(EchoServer));
err := http.ListenAndServe(":12345", nil); err := http.ListenAndServe(":12345", nil);
if err != nil { if err != nil {
panic("ListenAndServe: " + err.String()) panic("ListenAndServe: " + err.Error())
} }
} }
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment