From fd8490c68931675126f1d202577a858c5a618255 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Sun, 24 May 2015 21:04:03 -0400 Subject: [PATCH] Fix lint warnings for middleware/websockets --- middleware/websockets/websockets.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/middleware/websockets/websockets.go b/middleware/websockets/websockets.go index 35838aad..81e40510 100644 --- a/middleware/websockets/websockets.go +++ b/middleware/websockets/websockets.go @@ -22,7 +22,7 @@ type ( Sockets []Config } - // WSConfig holds the configuration for a single websocket + // Config holds the configuration for a single websocket // endpoint which may serve multiple websocket connections. Config struct { Path string @@ -50,9 +50,11 @@ func (ws WebSockets) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err } var ( - // See CGI spec, 4.1.4 + // GatewayInterface is the dialect of CGI being used by the server + // to communicate with the script. See CGI spec, 4.1.4 GatewayInterface string - // See CGI spec, 4.1.17 + // ServerSoftware is the name and version of the information server + // software making the CGI request. See CGI spec, 4.1.17 ServerSoftware string )