X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fxdsconfig%2Fconfigfile.go;fp=lib%2Fxdsconfig%2Fconfigfile.go;h=85e26bcc4bf2012fbcccab9de40a02145506d0f7;hb=701548c5b25efba70c3818e96a4394701cfb913e;hp=7ddb0106b5fbc2160335aba89c44035639dbf85a;hpb=247bb7c2db5f0d48178398599348249bf886ebbc;p=src%2Fxds%2Fxds-agent.git diff --git a/lib/xdsconfig/configfile.go b/lib/xdsconfig/configfile.go index 7ddb010..85e26bc 100644 --- a/lib/xdsconfig/configfile.go +++ b/lib/xdsconfig/configfile.go @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2018 "IoT.bzh" + * Copyright (C) 2017-2019 "IoT.bzh" * Author Sebastien Douheret * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -43,13 +43,19 @@ type XDSServerConf struct { APIPartialURL string `json:"-"` } -type XDSBinderConf struct { +type XDSMonitoringConf struct { + URL string `json:"url"` + ConnRetry int `json:"connRetry"` +} + +type XDSLowCollectorConf struct { URL string `json:"url"` ConnRetry int `json:"connRetry"` } type ProfileConfT struct { - XDSBinder XDSBinderConf `json:"xdsBinder"` + XDSMonitoring XDSMonitoringConf `json:"xdsMonitoring"` + XDSLowCollector XDSLowCollectorConf `json:"xdsLowCollector"` } type FileConfig struct {