2020-06-23 03:11:56 +02:00
|
|
|
package models
|
2020-06-03 02:35:49 +02:00
|
|
|
|
2020-10-05 19:07:09 +02:00
|
|
|
import "github.com/owncast/owncast/utils"
|
2020-06-25 07:52:05 +02:00
|
|
|
|
2020-11-13 00:14:59 +01:00
|
|
|
// Status represents the status of the system.
|
2020-06-03 02:35:49 +02:00
|
|
|
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"`
|
2020-06-25 07:52:05 +02:00
|
|
|
|
2020-07-19 00:06:54 +02:00
|
|
|
LastConnectTime utils.NullTime `json:"lastConnectTime"`
|
|
|
|
LastDisconnectTime utils.NullTime `json:"lastDisconnectTime"`
|
2020-11-04 02:34:25 +01:00
|
|
|
|
|
|
|
VersionNumber string `json:"versionNumber"`
|
2020-06-03 02:35:49 +02:00
|
|
|
}
|