traefik/pkg/server/uuid/uuid.go

15 lines
181 B
Go
Raw Normal View History

2017-10-02 08:32:02 +00:00
package uuid
import guuid "github.com/satori/go.uuid"
var uuid string
func init() {
uuid = guuid.NewV4().String()
}
// Get the instance UUID
func Get() string {
return uuid
}