func (s *Server) runHTTPServer(ctx context.Context, errC chan<- error) {
	if !s.validHTTPAddr() {
		return
	}
	go s.serveTCP(s.HTTPServer, errC, false, s.log)
}
// runHTTPSServer runs the http server asynchronously, adding the return error to the channel when done.
// The server is only run if the HTTP address is valid.
runHTTPSServer runs the http server asynchronously, adding the return error to the channel when done.
The server is only run if the HTTP address is valid.
// runHTTPSServer runs the http server asynchronously adding the return error to the channel when done . // The server is only run if the HTTP address is valid .
func (s *Server) runHTTPServer(ctx context.Context, errC chan<- error) {
	if !s.validHTTPAddr() {
		return
	}
	go s.serveTCP(s.HTTPServer, errC, false, s.log)
}
func ( s * Server ) runHTTPServer ( ctx context . Context , errC chan <- error ) { if ! s . validHTTPAddr ( ) { return } go s . serveTCP ( s . HTTPServer , errC , false , s . log ) }
runHTTPSServer runs the http server asynchronously, adding the return error to the channel when done.
runHTTPSServer runs the http server asynchronously adding the return error to the channel when done .