2020-06-23 04:11:56 +03:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
2020-10-05 20:07:09 +03:00
|
|
|
"github.com/owncast/owncast/utils"
|
2020-06-23 04:11:56 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
//Stats holds the stats for the system
|
|
|
|
type Stats struct {
|
2020-07-19 01:06:54 +03:00
|
|
|
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
|
|
|
|
OverallMaxViewerCount int `json:"overallMaxViewerCount"`
|
|
|
|
LastDisconnectTime utils.NullTime `json:"lastDisconnectTime"`
|
2020-06-23 04:11:56 +03:00
|
|
|
|
2020-10-07 09:14:33 +03:00
|
|
|
StreamConnected bool `json:"-"`
|
|
|
|
LastConnectTime utils.NullTime `json:"-"`
|
|
|
|
Clients map[string]Client `json:"-"`
|
2020-06-23 04:11:56 +03:00
|
|
|
}
|