aboutsummaryrefslogtreecommitdiff
path: root/hotline/stats.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-07-04 14:24:08 -0700
committerGitHub <noreply@github.com>2022-07-04 14:24:08 -0700
commitc789e2f35ea97fe2b390cf06dc1c914b913b7535 (patch)
treefdfb585d9f79dc50bf53465d07e6975f0213aa8b /hotline/stats.go
parentf3059b6aa517f9f8e204b2fa1913e2fdfccef570 (diff)
parent00913df3521d967ac31ee22c23447b5aa711f2e6 (diff)
Merge pull request #62 from jhalter/add_basic_stats
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
}