Skip to content

Commit

Permalink
Service output about IPs and ports
Browse files Browse the repository at this point in the history
  • Loading branch information
topfunky committed Aug 9, 2018
1 parent 39233c5 commit 6453356
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/dashboard-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ func main() {

countingServiceURL = getEnvOrDefault("COUNTING_SERVICE_URL", "http://localhost:9001")

fmt.Printf("Starting server on http://0.0.0.0:%s\n(Pass as PORT environment variable)\n", port)
fmt.Printf("Starting server on http://0.0.0.0:%s\n", port)
fmt.Println("(Pass as PORT environment variable)")
fmt.Printf("Using counting service at %s\n", countingServiceURL)

router := mux.NewRouter()
router.PathPrefix("/socket.io/").Handler(startWebsocket())
router.HandleFunc("/health", HealthHandler)
Expand Down

0 comments on commit 6453356

Please sign in to comment.