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.
16 lines
434 B
16 lines
434 B
package models |
|
|
|
import ( |
|
"time" |
|
) |
|
|
|
//Stats holds the stats for the system |
|
type Stats struct { |
|
SessionMaxViewerCount int `json:"sessionMaxViewerCount"` |
|
OverallMaxViewerCount int `json:"overallMaxViewerCount"` |
|
LastDisconnectTime time.Time `json:"lastDisconnectTime"` |
|
|
|
StreamConnected bool `json:"-"` |
|
LastConnectTime time.Time `json:"-"` |
|
Clients map[string]time.Time `json:"-"` |
|
}
|
|
|