aboutsummaryrefslogtreecommitdiffstats
path: root/lib/apiv1/apiv1.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-22 18:45:46 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-22 18:47:23 +0200
commit61ca475685c6b7b33654edaad637c7d53bdf8d34 (patch)
treeb8996212810a58d1340b01b62ece8e99756c7dc1 /lib/apiv1/apiv1.go
parentad8f8d97a48f155ba94d5646012e969845a315ab (diff)
Add XDS-agent tarball download feature
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/apiv1/apiv1.go')
-rw-r--r--lib/apiv1/apiv1.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/apiv1/apiv1.go b/lib/apiv1/apiv1.go
index 7359266..2df8ea7 100644
--- a/lib/apiv1/apiv1.go
+++ b/lib/apiv1/apiv1.go
@@ -34,6 +34,7 @@ func New(r *gin.Engine, sess *session.Sessions, cfg *xdsconfig.Config, mfolder *
}
s.apiRouter.GET("/version", s.getVersion)
+ s.apiRouter.GET("/xdsagent/info", s.getXdsAgentInfo)
s.apiRouter.GET("/config", s.getConfig)
s.apiRouter.POST("/config", s.setConfig)