mirror of
https://github.com/golang/go
synced 2024-11-21 23:24:41 -07:00
websocket: fix a trivial example server
R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5491063
This commit is contained in:
parent
bd9243da22
commit
32734f4664
@ -74,7 +74,7 @@ A trivial example server:
|
||||
http.Handle("/echo", websocket.Handler(EchoServer));
|
||||
err := http.ListenAndServe(":12345", nil);
|
||||
if err != nil {
|
||||
panic("ListenAndServe: " + err.String())
|
||||
panic("ListenAndServe: " + err.Error())
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user