View definition

(*Server).ListenAndServe

Defined in github.com/golang/go/src/net/http/server.go

Description

ListenAndServe listens on the TCP network address srv.Addr and then calls Serve to handle requests on incoming connections. Accepted connections are configured to enable TCP keep-alives. If srv.Addr is blank, ":http" is used. ListenAndServe always returns a non-nil error.