//launchMyServer launched an blocking HTTP server with the data provided by the
//scheduler
launchMyServer launched an blocking HTTP server with the data provided by the
scheduler
// launchMyServer launched an blocking HTTP server with the data provided by the // scheduler
func launchMyServer(data []byte, port string) {
	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		w.Write(data)
	})
	log.Infof("Running server in port %s", port)
	http.ListenAndServe(":"+port, nil)
}
func launchMyServer ( data [ ] byte , port string ) { http . HandleFunc ( " " , func ( w http . ResponseWriter , r * http . Request ) { w . Write ( data ) } ) log . Infof ( " " , port ) http . ListenAndServe ( " " + port , nil ) }
launchMyServer launched an blocking HTTP server with the data provided by the
scheduler
launchMyServer launched an blocking HTTP server with the data provided by the scheduler