mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
14 lines
460 B
Go
14 lines
460 B
Go
package models
|
|
|
|
import "github.com/gabek/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"`
|
|
}
|