feat: update startup log messages
- add startup message for version information - reformat log for websocket listening address
This commit is contained in:
parent
899417b605
commit
fa3ba759c4
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ func Start() {
|
||||||
http.HandleFunc("/ws", websocket.HandleConnections)
|
http.HandleFunc("/ws", websocket.HandleConnections)
|
||||||
go websocket.SendPermanentBroadCastMessage()
|
go websocket.SendPermanentBroadCastMessage()
|
||||||
|
|
||||||
log.Info("Pomodoro WebSocket server started!", "listen", listen)
|
log.Info("GoTomato started", "version", metadata.GoTomatoVersion)
|
||||||
|
log.Info("Websocket listening", "address", listen)
|
||||||
err := http.ListenAndServe(listen, nil)
|
err := http.ListenAndServe(listen, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("Error starting server:", "msg", err)
|
log.Fatal("Error starting server:", "msg", err)
|
||||||
|
|
Loading…
Reference in a new issue