/*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
"os"
"path/filepath"
- common "github.com/iotbzh/xds-common/golib"
+ common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git"
uuid "github.com/satori/go.uuid"
"github.com/syncthing/syncthing/lib/sync"
)
Data ServerData `xml:"server-data"`
}
+// ServerData Hold server data saved in ServerData file
type ServerData struct {
ID string `xml:"id"`
}
var sdMutex = sync.NewMutex()
-// ServerIDGet
+// ServerIDGet Get Server unique ID
func ServerIDGet() (string, error) {
var f string
var err error