summaryrefslogtreecommitdiffstats
path: root/lib/xaapiv1/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xaapiv1/version.go')
-rw-r--r--lib/xaapiv1/version.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/xaapiv1/version.go b/lib/xaapiv1/version.go
new file mode 100644
index 0000000..5fed4e2
--- /dev/null
+++ b/lib/xaapiv1/version.go
@@ -0,0 +1,15 @@
+package xaapiv1
+
+// VersionData
+type VersionData struct {
+ ID string `json:"id"`
+ Version string `json:"version"`
+ APIVersion string `json:"apiVersion"`
+ VersionGitTag string `json:"gitTag"`
+}
+
+// XDSVersion
+type XDSVersion struct {
+ Client VersionData `json:"client"`
+ Server []VersionData `json:"servers"`
+}