]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/stats.go
Refactoring, cleanup, test backfilling
[rbdr/mobius] / hotline / stats.go
index bc06a6915776b6ed36bc86917fe256066046a71e..d1a3c5f84dcb6bc572baff87fb64f017ce09c73d 100644 (file)
@@ -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
 }