mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化集群版本
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -2,11 +2,12 @@ package sysmodule
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gorilla/websocket"
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user