diff options
Diffstat (limited to 'hotline/stats.go')
| -rw-r--r-- | hotline/stats.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hotline/stats.go b/hotline/stats.go index bc06a69..d1a3c5f 100644 --- a/hotline/stats.go +++ b/hotline/stats.go @@ -1,6 +1,7 @@ package hotline import ( + "sync" "time" ) @@ -14,4 +15,6 @@ type Stats struct { DownloadCounter int UploadCounter int Since time.Time + + sync.Mutex } |