Commit fd8490c6 authored by Zac Bergquist's avatar Zac Bergquist

Fix lint warnings for middleware/websockets

parent d0a51048
...@@ -22,7 +22,7 @@ type ( ...@@ -22,7 +22,7 @@ type (
Sockets []Config 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. // endpoint which may serve multiple websocket connections.
Config struct { Config struct {
Path string Path string
...@@ -50,9 +50,11 @@ func (ws WebSockets) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err ...@@ -50,9 +50,11 @@ func (ws WebSockets) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, err
} }
var ( 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 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 ServerSoftware string
) )
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