]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/stats.go
Add cmdline arg to initialize a default config
[rbdr/mobius] / hotline / stats.go
index dd8ea1d14dbad7944ce6095783b4d5af54e1717a..4b9119d6a21aa60516fc9af8e3c2e323d4d7400b 100644 (file)
@@ -6,9 +6,10 @@ import (
 )
 
 type Stats struct {
 )
 
 type Stats struct {
-       LoginCount int           `yaml:"login count"`
-       StartTime  time.Time     `yaml:"start time"`
-       Uptime     time.Duration `yaml:"uptime"`
+       LoginCount      int       `yaml:"login count"`
+       StartTime       time.Time `yaml:"start time"`
+       DownloadCounter int
+       UploadCounter   int
 }
 
 func (s *Stats) String() string {
 }
 
 func (s *Stats) String() string {