mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 19:19:06 +03:00
16 lines
429 B
Go
16 lines
429 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
//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 time.Time `json:"lastConnectTime"`
|
|
LastDisconnectTime time.Time `json:"lastDisconnectTime"`
|
|
}
|