优化集群版本

This commit is contained in:
boyce
2019-01-24 18:06:11 +08:00
parent 0d4522433d
commit 4d84630381
3 changed files with 9 additions and 5 deletions

View File

@@ -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

View File

@@ -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 {

View File

@@ -2,11 +2,12 @@ package sysmodule
import (
"fmt"
"gorilla/websocket"
"log"
"net/http"
"net/url"
"github.com/gorilla/websocket"
"time"
)