status.go 562 B

1234567891011121314151617
  1. package models
  2. import "github.com/owncast/owncast/utils"
  3. // Status represents the status of the system.
  4. type Status struct {
  5. LastConnectTime *utils.NullTime `json:"lastConnectTime"`
  6. LastDisconnectTime *utils.NullTime `json:"lastDisconnectTime"`
  7. VersionNumber string `json:"versionNumber"`
  8. StreamTitle string `json:"streamTitle"`
  9. ViewerCount int `json:"viewerCount"`
  10. OverallMaxViewerCount int `json:"overallMaxViewerCount"`
  11. SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
  12. Online bool `json:"online"`
  13. }