summaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig/configfile.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-09 17:28:43 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-13 12:39:57 +0100
commit80708aa2578f3598fc8abd4d08e576947da22872 (patch)
tree5ec6e414a3f41bea2d157b91f7ef4ac6cb8284a0 /lib/xdsconfig/configfile.go
parent1499569abc3e8440592add96f96e01791282a246 (diff)
Added api to list and reconnect a XDS-Server.
Added following routes: /servers => list all known XDS-Server /servers/:id => get info of a XDS-Server /servers/:id/reconnect => force reconnection of a XDS-Server Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xdsconfig/configfile.go')
-rw-r--r--lib/xdsconfig/configfile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xdsconfig/configfile.go b/lib/xdsconfig/configfile.go
index 27456e7..009517f 100644
--- a/lib/xdsconfig/configfile.go
+++ b/lib/xdsconfig/configfile.go
@@ -38,6 +38,7 @@ type XDSServerConf struct {
// private/not exported fields
ID string `json:"-"`
+ URLIndex string `json:"-"`
APIBaseURL string `json:"-"`
APIPartialURL string `json:"-"`
}