]>
Commit | Line | Data |
---|---|---|
6988a057 JH |
1 | package hotline |
2 | ||
3 | import ( | |
a2ef262a | 4 | "sync" |
6988a057 JH |
5 | "time" |
6 | ) | |
7 | ||
8 | type 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 | } |