Kaynağa Gözat

Added stomp connection url

Ronald Peterson 10 yıl önce
ebeveyn
işleme
8b05c00709
2 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 0 1
      gameserver/gameserver.go
  2. 1 1
      stomp/stomp.go

+ 0 - 1
gameserver/gameserver.go

@@ -40,7 +40,6 @@ func New() GameServer {
 }
 
 func (gs *GameServer) Serve() {
-
 	log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*flag.Port), newUrlRouter(gs)))
 }
 

+ 1 - 1
stomp/stomp.go

@@ -18,7 +18,7 @@ func getStompConnection() *stomp.Conn {
 		if(err != nil) {
 			log.Printf("Error creating stomp connection error: %v\n", err)
 		} else {
-			log.Println("Created stomp connection")
+			log.Printf("Created stomp connection to %v", *flag.StompUrl)
 		}
 	}
 	return stompConnection