X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Fapiv1%2Fagent.go;h=925f12ba320b2926bbfeed1a254dc4c933d5f52e;hb=347bd1674bbf67ccb6209951a4bf8f2971715532;hp=b693608dcd9ad2ab18c8f7d9490e11f73446920e;hpb=8f41ac456fc92a9ec333579498e9933d73404905;p=src%2Fxds%2Fxds-server.git diff --git a/lib/apiv1/agent.go b/lib/apiv1/agent.go index b693608..925f12b 100644 --- a/lib/apiv1/agent.go +++ b/lib/apiv1/agent.go @@ -8,9 +8,10 @@ import ( "path/filepath" "github.com/gin-gonic/gin" - "github.com/iotbzh/xds-agent/lib/common" + common "github.com/iotbzh/xds-common/golib" ) +// XDSAgentTarball . type XDSAgentTarball struct { OS string `json:"os"` Arch string `json:"arch"` @@ -18,6 +19,8 @@ type XDSAgentTarball struct { RawVersion string `json:"raw-version"` FileURL string `json:"fileUrl"` } + +// XDSAgentInfo . type XDSAgentInfo struct { Tarballs []XDSAgentTarball `json:"tarballs"` }