func HttpServe()

in go/grpshuffle_client/lib/http.go [42:50]


func HttpServe(port int) {
	addr := fmt.Sprintf(":%v", port)

	http.HandleFunc("/shuffle", shuffleHandler)
	http.HandleFunc("/", healthHandler)

	log.Printf("Launch grpshuffle-client http server %v...", port)
	log.Fatal(http.ListenAndServe(addr, logger(http.DefaultServeMux)))
}