Small typo fix in comment

This commit is contained in:
Henri Koski 2015-10-06 21:40:04 +03:00
parent 13e4d0621c
commit 20b4ee30ab
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func (c *connection) writePump() {
}
}
// serverWs handles websocket requests from the peer.
// serveWs 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)