Have both connect and disconnect time in the status API

This commit is contained in:
Gabe Kangas
2020-06-24 22:52:05 -07:00
parent a297e33eff
commit 8878ca1e88
2 changed files with 9 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ func GetStatus() models.Status {
ViewerCount: len(_stats.Clients),
OverallMaxViewerCount: _stats.OverallMaxViewerCount,
SessionMaxViewerCount: _stats.SessionMaxViewerCount,
LastDisconnectTime: _stats.LastDisconnectTime,
LastConnectTime: _stats.LastConnectTime,
}
}