Add cycle time and event status to field monitor (closes #91).

This commit is contained in:
Patrick Fairbank
2020-03-29 18:56:34 -07:00
parent 7c7b90f8cc
commit a5a7821b3f
6 changed files with 29 additions and 7 deletions

View File

@@ -49,5 +49,6 @@ func (web *Web) fieldMonitorDisplayWebsocketHandler(w http.ResponseWriter, r *ht
defer ws.Close()
// Subscribe the websocket to the notifiers whose messages will be passed on to the client.
ws.HandleNotifiers(display.Notifier, web.arena.ArenaStatusNotifier, web.arena.ReloadDisplaysNotifier)
ws.HandleNotifiers(display.Notifier, web.arena.ArenaStatusNotifier, web.arena.EventStatusNotifier,
web.arena.ReloadDisplaysNotifier)
}