summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-02-18 09:44:29 -0600
committerSean E. Russell <ser@ser1.net>2020-02-18 10:23:33 -0600
commit5ccfc7cbc6f406192e1eb20d84dcfa49814e57ad (patch)
treecfc97f26f07ac52f289b32b8379a16fcedfd05f8 /config.go
parentb61ed8b81b47d686a787e9ceda190d370991167c (diff)
Adds widget metrics output
Doc cleanup Missed changes
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 0cd9e58..946ebdb 100644
--- a/config.go
+++ b/config.go
@@ -38,6 +38,7 @@ type Config struct {
NetInterface string
Layout string
MaxLogSize int64
+ ExportPort string
}
func Parse(in io.Reader, conf *Config) error {
@@ -117,6 +118,8 @@ func Parse(in io.Reader, conf *Config) error {
return err
}
conf.MaxLogSize = int64(iv)
+ case "export":
+ conf.ExportPort = kv[1]
}
}