util/srv/server.go
func NewServer(conf *Config) *Server {
	s := &Server{
		conf: conf,
		srv: http.Server{
			Addr:    conf.Addr,
			Handler: http.NewServeMux(),
		},
	}
	return s
}
func NewServer(conf *Config) *Server {
	s := &Server{
		conf: conf,
		srv: http.Server{
			Addr:    conf.Addr,
			Handler: http.NewServeMux(),
		},
	}
	return s
}
func NewServer ( conf * Config ) * Server { s := & Server { conf : conf , srv : http . Server { Addr : conf . Addr , Handler : http . NewServeMux ( ) , } , } return s }
// NewServer creates a new HTTP server.
NewServer creates a new HTTP server .