diff --git a/cluster/cluster.go b/cluster/cluster.go index 444cb34..21f18d4 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -4,12 +4,14 @@ import ( "fmt" "log" "net" - "origin/rpc" - "origin/service" "os" "strconv" "strings" "time" + + "github.com/duanhf2012/origin/service" + + "github.com/duanhf2012/origin/rpc" ) //https://github.com/rocket049/rpc2d/blob/master/rpcnode.go diff --git a/server/server.go b/server/server.go index ac5f228..cee6e04 100644 --- a/server/server.go +++ b/server/server.go @@ -6,12 +6,13 @@ import ( "net/http" _ "net/http/pprof" - "origin/cluster" - "origin/service" "os" "os/signal" "sync" "syscall" + + "github.com/duanhf2012/origin/cluster" + "github.com/duanhf2012/origin/service" ) type CExitCtl struct { diff --git a/sysmodule/websocketclient.go b/sysmodule/websocketclient.go index c2e794e..29d8291 100644 --- a/sysmodule/websocketclient.go +++ b/sysmodule/websocketclient.go @@ -2,11 +2,12 @@ package sysmodule import ( "fmt" - "gorilla/websocket" "log" "net/http" "net/url" + "github.com/gorilla/websocket" + "time" )