diff --git a/Dockerfile b/Dockerfile index b22adb9f..d8d33b98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get install pkg-config libvpx-dev libopus-dev libopusfile-dev -y RUN go get gopkg.in/hraban/opus.v2 RUN go get github.com/pion/webrtc RUN go get github.com/gorilla/websocket -RUN go get github.com/satori/go.uuid +RUN go get github.com/gofrs/uuid RUN go get cloud.google.com/go/storage RUN go install github.com/giongto35/cloud-game/cmd diff --git a/README.md b/README.md index dd24ada5..d471689e 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ And golang dependencies * `go get github.com/pion/webrtc/` * `go get github.com/gorilla/websocket` * `go get gopkg.in/hraban/opus.v2` - * `go get github.com/satori/go.uuid` + * `go get github.com/gofrs/uuid` * `go get cloud.google.com/go/storage` And run diff --git a/cws/cws.go b/cws/cws.go index f99e5dbf..2a5abebb 100644 --- a/cws/cws.go +++ b/cws/cws.go @@ -7,8 +7,8 @@ import ( "time" "github.com/giongto35/cloud-game/config" + "github.com/gofrs/uuid" "github.com/gorilla/websocket" - uuid "github.com/satori/go.uuid" ) type Client struct { diff --git a/overlord/handlers.go b/overlord/handlers.go index bd715faa..c383e5a4 100644 --- a/overlord/handlers.go +++ b/overlord/handlers.go @@ -10,8 +10,8 @@ import ( "github.com/giongto35/cloud-game/cws" "github.com/giongto35/cloud-game/overlord/gamelist" + "github.com/gofrs/uuid" "github.com/gorilla/websocket" - uuid "github.com/satori/go.uuid" ) const ( diff --git a/webrtc/webrtc.go b/webrtc/webrtc.go index 8389692c..4e540e3b 100644 --- a/webrtc/webrtc.go +++ b/webrtc/webrtc.go @@ -11,9 +11,9 @@ import ( "github.com/giongto35/cloud-game/config" vpxEncoder "github.com/giongto35/cloud-game/vpx-encoder" + "github.com/gofrs/uuid" "github.com/pion/webrtc" "github.com/pion/webrtc/pkg/media" - uuid "github.com/satori/go.uuid" ) var webrtcconfig = webrtc.Configuration{ICEServers: []webrtc.ICEServer{{URLs: []string{"stun:159.65.141.209:3478", "stun:stun.l.google.com:19302", "stun:stun1.l.google.com:19302"}}}}