aboutsummaryrefslogtreecommitdiff
path: root/hotline/stats.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-07-04 14:19:01 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-07-04 14:19:01 -0700
commit00913df3521d967ac31ee22c23447b5aa711f2e6 (patch)
treefdfb585d9f79dc50bf53465d07e6975f0213aa8b /hotline/stats.go
parentf3059b6aa517f9f8e204b2fa1913e2fdfccef570 (diff)
Add basic stat counters
Diffstat (limited to 'hotline/stats.go')
-rw-r--r--hotline/stats.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hotline/stats.go b/hotline/stats.go
index 4fa683a..bc06a69 100644
--- a/hotline/stats.go
+++ b/hotline/stats.go
@@ -8,10 +8,10 @@ type Stats struct {
CurrentlyConnected int
DownloadsInProgress int
UploadsInProgress int
+ WaitingDownloads int
ConnectionPeak int
+ ConnectionCounter int
DownloadCounter int
UploadCounter int
-
- LoginCount int `yaml:"login count"`
- StartTime time.Time `yaml:"start time"`
+ Since time.Time
}