func handleAddress(w http.ResponseWriter, r *http.Request) {
	status, err := allocate()
	if err != nil {
		http.Error(w, err.Error(), http.StatusInternalServerError)
	}
	w.Header().Set("Content-Type", "application/json")
	err = json.NewEncoder(w).Encode(&result{status})
	if err != nil {
		logger.WithError(err).Fatal("Error writing json from /address")
	}
}
// Let /address return the GameServerStatus
Let /address return the GameServerStatus
// Let / address return the GameServerStatus
func handleAddress(w http.ResponseWriter, r *http.Request) {
	status, err := allocate()
	if err != nil {
		http.Error(w, err.Error(), http.StatusInternalServerError)
	}
	w.Header().Set("Content-Type", "application/json")
	err = json.NewEncoder(w).Encode(&result{status})
	if err != nil {
		logger.WithError(err).Fatal("Error writing json from /address")
	}
}
func handleAddress ( w http . ResponseWriter , r * http . Request ) { status , err := allocate ( ) if err != nil { http . Error ( w , err . Error ( ) , http . StatusInternalServerError ) } w . Header ( ) . Set ( " " , " " ) err = json . NewEncoder ( w ) . Encode ( & result { status } ) if err != nil { logger . WithError ( err ) . Fatal ( " " ) } }
Let /address return the GameServerStatus
Let / address return the GameServerStatus