func Start(serverPort int, c Controller) {
	log.Printf("Starting server on port %d\n", serverPort)
	http.Handle("/", CreateHandler(c))
	if err := http.ListenAndServe(":"+strconv.Itoa(serverPort), nil); err != nil {
		panic(err)
	}
}
Start creates the HTTP handler based on an implementation of a
Controller interface, and begins to listen on the specified port.
package server
import (
	"log"
	"net/http"
	"strconv"
	"plori/helm-broker/util"
	"github.com/gorilla/mux"
	model "github.com/kubernetes-incubator/service-catalog/pkg/brokerapi"
)
type server struct {
	controller Controller
}
func CreateHandler(c Controller) http.Handler {
	s := server{
		controller: c,
	}
	router := mux.NewRouter()
	router.HandleFunc("/services", s.ListServices).Methods("GET")
	router.HandleFunc("/services", s.CreateService).Methods("POST")
	router.HandleFunc("/services/{service_id}", s.GetService).Methods("GET")
	router.HandleFunc("/services/{service_id}", s.DeleteService).Methods("DELETE")
	var handler http.Handler = router
	return handler
}