优化集群版本

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" "fmt"
"log" "log"
"net" "net"
"origin/rpc"
"origin/service"
"os" "os"
"strconv" "strconv"
"strings" "strings"
"time" "time"
"github.com/duanhf2012/origin/service"
"github.com/duanhf2012/origin/rpc"
) )
//https://github.com/rocket049/rpc2d/blob/master/rpcnode.go //https://github.com/rocket049/rpc2d/blob/master/rpcnode.go

View File

@@ -6,12 +6,13 @@ import (
"net/http" "net/http"
_ "net/http/pprof" _ "net/http/pprof"
"origin/cluster"
"origin/service"
"os" "os"
"os/signal" "os/signal"
"sync" "sync"
"syscall" "syscall"
"github.com/duanhf2012/origin/cluster"
"github.com/duanhf2012/origin/service"
) )
type CExitCtl struct { type CExitCtl struct {

View File

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