diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-07-04 14:19:01 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-07-04 14:19:01 -0700 |
| commit | 00913df3521d967ac31ee22c23447b5aa711f2e6 (patch) | |
| tree | fdfb585d9f79dc50bf53465d07e6975f0213aa8b /hotline/stats.go | |
| parent | f3059b6aa517f9f8e204b2fa1913e2fdfccef570 (diff) | |
Add basic stat counters
Diffstat (limited to 'hotline/stats.go')
| -rw-r--r-- | hotline/stats.go | 6 |
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 } |