func StartHTTPServer() *http.Server {
	srv := &http.Server{Addr: ":1793"}
	http.HandleFunc("/alive", aliveTest)
	http.HandleFunc("/index.yaml", indexFile)
	http.HandleFunc("/chart1-2.11.0.tgz", chartTgz)
	http.HandleFunc("/chart2-1.0.1.tgz", chartTgz)
	http.HandleFunc("/chart2-0.0.0-rc1.tgz", chartTgz)
	http.HandleFunc("/chart3-0.0.1-rc1.tgz", chartTgz)
	go func() {
		if err := srv.ListenAndServe(); err != nil {
			log.Printf("Httpserver: ListenAndServe() error: %s", err)
		}
	}()
	return srv
}
StartHTTPServer start http server for tests
package fixtures
import (
	"log"
	"net/http"
	"time"
	"github.com/pkg/errors"
)