mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 14:20:54 +03:00
769fc3a561
Co-authored-by: Michael Leow <mleow@moneylion.com>
14 lines
462 B
Go
14 lines
462 B
Go
package models
|
|
|
|
import "github.com/owncast/owncast/utils"
|
|
|
|
//Status represents the status of the system
|
|
type Status struct {
|
|
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"`
|
|
}
|