From 4d84630381094ebe4bbf8f89a3c898f8c4f9fd4b Mon Sep 17 00:00:00 2001 From: boyce Date: Thu, 24 Jan 2019 18:06:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=9B=86=E7=BE=A4=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster/cluster.go | 6 ++++-- server/server.go | 5 +++-- sysmodule/websocketclient.go | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) 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" )