Skip to content

Commit

Permalink
Merge pull request #46 from rebill/master
Browse files Browse the repository at this point in the history
change google code to github
  • Loading branch information
Terry-Mao authored Jun 15, 2016
2 parents 07a2455 + 0d581a9 commit d9cbf9e
Show file tree
Hide file tree
Showing 35 changed files with 38 additions and 36 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ _cgo_export.*
_testmain.go

*.exe

.idea
2 changes: 1 addition & 1 deletion comet/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"github.com/Terry-Mao/gopush-cluster/hash"
"github.com/Terry-Mao/gopush-cluster/hlist"
Expand Down
2 changes: 1 addition & 1 deletion comet/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"fmt"
"net"
)
Expand Down
2 changes: 1 addition & 1 deletion comet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"flag"
"github.com/Terry-Mao/gopush-cluster/perf"
"github.com/Terry-Mao/gopush-cluster/process"
Expand Down
2 changes: 1 addition & 1 deletion comet/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion comet/pubsub_tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package main

import (
"bufio"
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"io"
"net"
Expand Down
4 changes: 2 additions & 2 deletions comet/pubsub_websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package main

import (
// TODO change the 3rd websocket lib
"code.google.com/p/go.net/websocket"
log "code.google.com/p/log4go"
"github.com/golang/net/websocket"
log "github.com/alecthomas/log4go"
"net"
"net/http"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion comet/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"github.com/Terry-Mao/gopush-cluster/id"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
Expand Down
2 changes: 1 addition & 1 deletion comet/seq_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"github.com/Terry-Mao/gopush-cluster/hlist"
"github.com/Terry-Mao/gopush-cluster/id"
Expand Down
2 changes: 1 addition & 1 deletion comet/signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"os"
"os/signal"
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion comet/stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"net/http"
"os"
Expand Down
2 changes: 1 addition & 1 deletion comet/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"container/list"
"errors"
"time"
Expand Down
2 changes: 1 addition & 1 deletion comet/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"github.com/Terry-Mao/gopush-cluster/rpc"
myzk "github.com/Terry-Mao/gopush-cluster/zk"
Expand Down
4 changes: 2 additions & 2 deletions dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
go get -u github.com/Terry-Mao/gopush-cluster
go get -u github.com/Terry-Mao/goconf
go get -u github.com/garyburd/redigo/redis
go get -u code.google.com/p/go.net/websocket
go get -u github.com/golang/net/websocket
go get -u github.com/samuel/go-zookeeper
go get -u code.google.com/p/log4go
go get -u github.com/alecthomas/log4go
go get -u github.com/go-sql-driver/mysql

#go get -u ./message/...
Expand Down
2 changes: 1 addition & 1 deletion message/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"flag"
"github.com/Terry-Mao/gopush-cluster/perf"
"github.com/Terry-Mao/gopush-cluster/process"
Expand Down
2 changes: 1 addition & 1 deletion message/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"database/sql"
"encoding/json"
"errors"
Expand Down
2 changes: 1 addition & 1 deletion message/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"strings"
"time"

log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"github.com/Terry-Mao/gopush-cluster/ketama"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
"github.com/garyburd/redigo/redis"
Expand Down
2 changes: 1 addition & 1 deletion message/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
"net"
"net/rpc"
Expand Down
2 changes: 1 addition & 1 deletion message/signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"os"
"os/signal"
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion message/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"errors"
"github.com/Terry-Mao/gopush-cluster/rpc"
Expand Down
2 changes: 1 addition & 1 deletion message/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"github.com/Terry-Mao/gopush-cluster/rpc"
myzk "github.com/Terry-Mao/gopush-cluster/zk"
Expand Down
2 changes: 1 addition & 1 deletion perf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package perf

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"net/http"
"net/http/pprof"
)
Expand Down
2 changes: 1 addition & 1 deletion rpc/comet.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package rpc

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"errors"
"github.com/Terry-Mao/gopush-cluster/ketama"
Expand Down
2 changes: 1 addition & 1 deletion rpc/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package rpc

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
myzk "github.com/Terry-Mao/gopush-cluster/zk"
"github.com/samuel/go-zookeeper/zk"
Expand Down
2 changes: 1 addition & 1 deletion rpc/rand_lb.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package rpc

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"fmt"
"math/rand"
Expand Down
2 changes: 1 addition & 1 deletion test/comet/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"flag"
"github.com/Terry-Mao/goconf"
Expand Down
2 changes: 1 addition & 1 deletion test/comet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package main

import (
"bufio"
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"flag"
"fmt"
"net"
Expand Down
2 changes: 1 addition & 1 deletion web/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion web/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
"net/http"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion web/handle_1.0.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
"net/http"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion web/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"encoding/json"
"fmt"
"net"
Expand Down
2 changes: 1 addition & 1 deletion web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"flag"
"github.com/Terry-Mao/gopush-cluster/perf"
"github.com/Terry-Mao/gopush-cluster/process"
Expand Down
2 changes: 1 addition & 1 deletion web/signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"os"
"os/signal"
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion web/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package main

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
myrpc "github.com/Terry-Mao/gopush-cluster/rpc"
myzk "github.com/Terry-Mao/gopush-cluster/zk"
"github.com/samuel/go-zookeeper/zk"
Expand Down
2 changes: 1 addition & 1 deletion zk/zk.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package zk

import (
log "code.google.com/p/log4go"
log "github.com/alecthomas/log4go"
"errors"
"github.com/samuel/go-zookeeper/zk"
"os"
Expand Down

0 comments on commit d9cbf9e

Please sign in to comment.