func NewServer(config *Config, secrets *config.Secrets, metrics metrics.Client) *Server {
	return &Server{
		serverConfig: config,
		secrets:      secrets,
		metrics:      metrics,
		checkGroups:  make(map[string][]string),
	}
}
NewServer creates a server on the specified port
package server
import (
	"net/http"
	"strings"
	"github.com/grafeas/voucher/v2/cmd/config"
	"github.com/grafeas/voucher/v2/metrics"
	log "github.com/sirupsen/logrus"
)
type Server struct {
	serverConfig *Config
	checkGroups  map[string][]string
	secrets      *config.Secrets
	metrics      metrics.Client
}