Add basic persistent viewership stats

This commit is contained in:
Gabe Kangas
2020-06-10 23:52:55 -07:00
parent 9ebec675b5
commit b47ea89c06
5 changed files with 128 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
package main
type Status struct {
Online bool `json:"online"`
ViewerCount int `json:"viewerCount"`
Online bool `json:"online"`
ViewerCount int `json:"viewerCount"`
OverallMaxViewerCount int `json:"overallMaxViewerCount"`
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
}