2 changed files with 9 additions and 0 deletions
@ -1,9 +1,16 @@ |
|||||||
package models |
package models |
||||||
|
|
||||||
|
import ( |
||||||
|
"time" |
||||||
|
) |
||||||
|
|
||||||
//Status represents the status of the system
|
//Status represents the status of the system
|
||||||
type Status struct { |
type Status struct { |
||||||
Online bool `json:"online"` |
Online bool `json:"online"` |
||||||
ViewerCount int `json:"viewerCount"` |
ViewerCount int `json:"viewerCount"` |
||||||
OverallMaxViewerCount int `json:"overallMaxViewerCount"` |
OverallMaxViewerCount int `json:"overallMaxViewerCount"` |
||||||
SessionMaxViewerCount int `json:"sessionMaxViewerCount"` |
SessionMaxViewerCount int `json:"sessionMaxViewerCount"` |
||||||
|
|
||||||
|
LastConnectTime time.Time `json:"lastConnectTime"` |
||||||
|
LastDisconnectTime time.Time `json:"lastDisconnectTime"` |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue