summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-02-28 17:29:22 +0000
committerPaul Buetow <pbuetow@mimecast.com>2020-02-28 17:29:22 +0000
commit7911b102171309dfc43bc2faccac6de9e490f175 (patch)
treeef489750dbc3e0c31402a88dcdadddd8533377ee /internal/config
parent3cdc86e20cbd311fb9c85cef63876a2f39e5e74d (diff)
parent1922e448e84e218cc39d4394e9b4becfa6f0a83d (diff)
merge master
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/server.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/config/server.go b/internal/config/server.go
index aa1a02e..bc2f40a 100644
--- a/internal/config/server.go
+++ b/internal/config/server.go
@@ -19,10 +19,11 @@ type Scheduled struct {
Enable bool
Files string
Query string
- Outfile string
- Discovery string `json:",omitempty"`
- Servers string
+ Outfile string `json:",omitempty"`
+ Discovery string `json:",omitempty"`
+ Servers []string `json:",omitempty"`
TimeRange [2]int
+ AllowFrom []string `json:",omitempty"`
}
// ServerConfig represents the server configuration.