summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.go b/config.go
index 41b5278..3d1ae38 100644
--- a/config.go
+++ b/config.go
@@ -33,6 +33,7 @@ type Config struct {
MaxLogSize int64
ExportPort string
Extensions []string
+ Mbps bool
Test bool
}
@@ -131,6 +132,8 @@ func (conf *Config) Load() error {
conf.ExportPort = kv[1]
case "extensions":
conf.Extensions = strings.Split(kv[1], ",")
+ case "mbps":
+ conf.Mbps = true
}
}