aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xsapiv1/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xsapiv1/version.go')
-rw-r--r--lib/xsapiv1/version.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/xsapiv1/version.go b/lib/xsapiv1/version.go
new file mode 100644
index 0000000..8c3a742
--- /dev/null
+++ b/lib/xsapiv1/version.go
@@ -0,0 +1,9 @@
+package xsapiv1
+
+// XDS server Version
+type Version struct {
+ ID string `json:"id"`
+ Version string `json:"version"`
+ APIVersion string `json:"apiVersion"`
+ VersionGitTag string `json:"gitTag"`
+}