You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
460 B
14 lines
460 B
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"` |
|
}
|
|
|