From ad8f8d97a48f155ba94d5646012e969845a315ab Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 22 May 2017 13:51:04 +0200 Subject: Allow to set Syncthing rescanInterval parameter. --- lib/xdsconfig/fileconfig.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/xdsconfig/fileconfig.go') diff --git a/lib/xdsconfig/fileconfig.go b/lib/xdsconfig/fileconfig.go index 4be54ff..01bd4c9 100644 --- a/lib/xdsconfig/fileconfig.go +++ b/lib/xdsconfig/fileconfig.go @@ -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 { -- cgit 1.2.3-korg