From 9ca364d8753a5f2c7529c5b3dd7178bfd51effc6 Mon Sep 17 00:00:00 2001 From: clsr Date: Fri, 25 Aug 2017 17:04:42 +0200 Subject: Add support for the draft/cnp-select "select" request/response parameter --- server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server.go') diff --git a/server.go b/server.go index 4320f41..6d23ddd 100644 --- a/server.go +++ b/server.go @@ -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), -- cgit