owncast/models/status.go

15 lines
460 B
Go
Raw Normal View History

package models
import "github.com/gabek/owncast/utils"
//Status represents the status of the system
type Status struct {
2020-06-11 09:52:55 +03:00
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"`
}