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 fc6e521..9109a4b 100644
--- a/config.go
+++ b/config.go
@@ -31,6 +31,7 @@ type Config struct {
Layout string
MaxLogSize int64
ExportPort string
+ Extensions []string
}
func Parse(in io.Reader, conf *Config) error {
@@ -112,6 +113,8 @@ func Parse(in io.Reader, conf *Config) error {
conf.MaxLogSize = int64(iv)
case "export":
conf.ExportPort = kv[1]
+ case "extensions":
+ conf.Extensions = strings.Split(kv[1], ",")
}
}