diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-28 10:03:41 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-28 10:06:05 -0600 |
commit | 231b0d03fed93ccc4b5f953f503763966341ec48 (patch) | |
tree | 9bb07a88dd0ac7e73fa82935d0909ef4dd0810a8 /config.go | |
parent | 7a89225d729d4c54c5bc95b21979f48f9cd046b1 (diff) |
Extensions.v3.4.x
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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], ",") } } |