Allow to set Syncthing rescanInterval parameter.
[src/xds/xds-server.git] / lib / xdsconfig / fileconfig.go
index 4be54ff..01bd4c9 100644 (file)
@@ -12,10 +12,11 @@ import (
 )
 
 type SyncThingConf struct {
-       BinDir     string `json:"binDir"`
-       Home       string `json:"home"`
-       GuiAddress string `json:"gui-address"`
-       GuiAPIKey  string `json:"gui-apikey"`
+       BinDir          string `json:"binDir"`
+       Home            string `json:"home"`
+       GuiAddress      string `json:"gui-address"`
+       GuiAPIKey       string `json:"gui-apikey"`
+       RescanIntervalS int    `json:"rescanIntervalS"`
 }
 
 type FileConfig struct {