mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
18 lines
484 B
Go
18 lines
484 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/gabek/owncast/utils"
|
|
)
|
|
|
|
//Stats holds the stats for the system
|
|
type Stats struct {
|
|
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
|
|
OverallMaxViewerCount int `json:"overallMaxViewerCount"`
|
|
LastDisconnectTime utils.NullTime `json:"lastDisconnectTime"`
|
|
|
|
StreamConnected bool `json:"-"`
|
|
LastConnectTime utils.NullTime `json:"-"`
|
|
Clients map[string]time.Time `json:"-"`
|
|
}
|