Moved web Dashboard to xds-agent
[src/xds/xds-server.git] / lib / apiv1 / agent.go
index b693608..925f12b 100644 (file)
@@ -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"`
 }