From 0cbaed24435f5a37d7d22f48abcfb2aef52cd330 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 21 Apr 2015 16:00:16 -0600 Subject: [PATCH] A few helpful comments --- server/server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/server.go b/server/server.go index cde3d1821..76880eca5 100644 --- a/server/server.go +++ b/server/server.go @@ -20,10 +20,10 @@ import ( // Server represents an instance of a server, which serves // static content at a particular address (host and port). type Server struct { - HTTP2 bool // temporary while http2 is not in std lib (TODO: remove flag when part of std lib) - address string - tls bool - vhosts map[string]virtualHost + HTTP2 bool // temporary while http2 is not in std lib (TODO: remove flag when part of std lib) + address string // the actual address for net.Listen to listen on + tls bool // whether this server is serving all HTTPS hosts or not + vhosts map[string]virtualHost // virtual hosts keyed by their address } // New creates a new Server which will bind to addr and serve