Show viewer count and reconnect to websocket

This commit is contained in:
Gabe Kangas
2020-06-02 17:35:49 -07:00
parent 380dad2b87
commit f83fccfa89
5 changed files with 50 additions and 8 deletions

6
status.go Normal file
View File

@@ -0,0 +1,6 @@
package main
type Status struct {
Online bool `json:"online"`
ViewerCount int `json:"viewerCount"`
}