owncast/models/status.go

17 lines
508 B
Go
Raw Normal View History

package models
import "github.com/owncast/owncast/utils"
//Status represents the status of the system
type Status struct {
2020-06-11 08:52:55 +02:00
Online bool `json:"online"`
ViewerCount int `json:"viewerCount"`
OverallMaxViewerCount int `json:"overallMaxViewerCount"`
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
LastConnectTime utils.NullTime `json:"lastConnectTime"`
LastDisconnectTime utils.NullTime `json:"lastDisconnectTime"`
2020-11-04 02:34:25 +01:00
VersionNumber string `json:"versionNumber"`
}