diff options
Diffstat (limited to 'lib/apiv1/version.go')
-rw-r--r-- | lib/apiv1/version.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/apiv1/version.go b/lib/apiv1/version.go new file mode 100644 index 0000000..956f890 --- /dev/null +++ b/lib/apiv1/version.go @@ -0,0 +1,15 @@ +package apiv1 + +// 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"` +} |