From 00913df3521d967ac31ee22c23447b5aa711f2e6 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Mon, 4 Jul 2022 14:19:01 -0700 Subject: Add basic stat counters --- hotline/stats.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hotline/stats.go') 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 } -- cgit