func NewServer(port string) *Server {
	mux := http.NewServeMux()
	httpServer := &http.Server{Addr: ":" + port, Handler: mux}
	s := &Server{
		httpServer: httpServer,
	}
	mux.HandleFunc("/", handlers.IndexHandler)
	mux.HandleFunc("/health", handlers.HealthHandler)
	mux.Handle("/metrics", promhttp.Handler())
	return s
}
NewServer method initializes a new HTTP server instance and associates
the different routes that will be used by Prometheus (metrics) or for monitoring (health)
package server
import (
	"net/http"
	"time"
	"github.com/kinduff/csgo_exporter/internal/handlers"
	"github.com/prometheus/client_golang/prometheus/promhttp"
	"golang.org/x/net/context"
	log "github.com/sirupsen/logrus"
)
type Server struct {
	httpServer *http.Server
}