Migrate package to forge.cadoles.com/Pyxis namespace
This commit is contained in:
parent
2c44953b9b
commit
c4d6acdb9f
|
@ -9,7 +9,7 @@ Examples directory contains simple client and server.
|
|||
|
||||
### Installation
|
||||
|
||||
go get github.com/graarh/golang-socketio
|
||||
go get forge.cadoles.com/Pyxis/golang-socketio
|
||||
|
||||
### Simple server usage
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package gosocketio
|
||||
|
||||
import (
|
||||
"github.com/graarh/golang-socketio/transport"
|
||||
"strconv"
|
||||
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/transport"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/graarh/golang-socketio"
|
||||
"github.com/graarh/golang-socketio/transport"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/transport"
|
||||
"log"
|
||||
"runtime"
|
||||
"time"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/graarh/golang-socketio"
|
||||
"github.com/graarh/golang-socketio/transport"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/transport"
|
||||
"log"
|
||||
"net/http"
|
||||
"time"
|
||||
|
|
|
@ -2,7 +2,7 @@ package gosocketio
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/graarh/golang-socketio/protocol"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/protocol"
|
||||
"sync"
|
||||
"reflect"
|
||||
)
|
||||
|
|
5
loop.go
5
loop.go
|
@ -3,11 +3,12 @@ package gosocketio
|
|||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"github.com/graarh/golang-socketio/protocol"
|
||||
"github.com/graarh/golang-socketio/transport"
|
||||
"net/http"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/protocol"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/transport"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
3
send.go
3
send.go
|
@ -3,9 +3,10 @@ package gosocketio
|
|||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"github.com/graarh/golang-socketio/protocol"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/protocol"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,12 +7,13 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/graarh/golang-socketio/protocol"
|
||||
"github.com/graarh/golang-socketio/transport"
|
||||
"math/rand"
|
||||
"net/http"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/protocol"
|
||||
"forge.cadoles.com/Pyxis/golang-socketio/transport"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in New Issue