aboutsummaryrefslogtreecommitdiff
path: root/hotline/stats.go
blob: d1a3c5f84dcb6bc572baff87fb64f017ce09c73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package hotline

import (
	"sync"
	"time"
)

type Stats struct {
	CurrentlyConnected  int
	DownloadsInProgress int
	UploadsInProgress   int
	WaitingDownloads    int
	ConnectionPeak      int
	ConnectionCounter   int
	DownloadCounter     int
	UploadCounter       int
	Since               time.Time

	sync.Mutex
}