owncast/models/status.go

18 lines
562 B
Go
Raw Permalink Normal View History

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