diff options
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,14 +35,14 @@ type Server struct { Handler Handler // Validate enables request parameter value validation; invalid requests - // are responded with errors. + // are responded to with errors. Validate bool sock net.Conn } -// NewServer creates a new Server with default access and errors logs and sets -// the listen address to "localhost". +// NewServer creates a new Server with default access and errors loggers, +// validation enabled and the listen address set to "localhost". func NewServer() *Server { return &Server{ AccessLogger: log.New(os.Stdout, "", 0), |