]> git.r.bdr.sh - rbdr/mobius/blame - hotline/stats.go
Refactoring, cleanup, test backfilling
[rbdr/mobius] / hotline / stats.go
CommitLineData
6988a057
JH
1package hotline
2
3import (
a2ef262a 4 "sync"
6988a057
JH
5 "time"
6)
7
8type Stats struct {
7cd900d6
JH
9 CurrentlyConnected int
10 DownloadsInProgress int
11 UploadsInProgress int
00913df3 12 WaitingDownloads int
7cd900d6 13 ConnectionPeak int
00913df3 14 ConnectionCounter int
7cd900d6
JH
15 DownloadCounter int
16 UploadCounter int
00913df3 17 Since time.Time
a2ef262a
JH
18
19 sync.Mutex
6988a057 20}