fixed typo in comment

This commit is contained in:
Christian Stefanescu 2014-09-11 08:36:21 +02:00
parent 4292df70df
commit 0a52d61198
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func (c *connection) writePump() {
}
}
// serverWs handles webocket requests from the peer.
// serverWs handles websocket requests from the peer.
func serveWs(w http.ResponseWriter, r *http.Request) {
if r.Method != "GET" {
http.Error(w, "Method not allowed", 405)