Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build:

build-linux:
@mkdir -p out
@GOOS=linux GOARCH=amd64 go build -o ./out/pitaya-cli-linux ./main.go
@GOOS=linux GOARCH=amd64 go build -o ./out/pitaya-cli-linux ./...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ a short example of both routes:
import (
// ...

"github.com/topfreegames/pitaya"
"github.com/topfreegames/pitaya/protos"
"github.com/topfreegames/pitaya/v2"
"github.com/topfreegames/pitaya/v2/protos"
)

// Docs handler
Expand Down
2 changes: 1 addition & 1 deletion commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"

"github.com/sirupsen/logrus"
"github.com/topfreegames/pitaya/client"
"github.com/topfreegames/pitaya/v2/client"
)

func connect(logger Log, addr string, onMessageCallback func([]byte)) (err error) {
Expand Down
29 changes: 2 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,24 @@ module github.com/topfreegames/pitaya-cli
go 1.13

require (
github.com/DataDog/datadog-go v3.3.1+incompatible // indirect
github.com/abiosoft/ishell v2.0.0+incompatible // indirect
github.com/abiosoft/readline v0.0.0-20180607040430-155bce2042db // indirect
github.com/chzyer/logex v1.1.10 // indirect
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect
github.com/coreos/etcd v3.3.18+incompatible // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/flynn-archive/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/gogo/protobuf v1.3.1 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/gorilla/websocket v1.4.1 // indirect
github.com/jhump/protoreflect v1.6.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.11 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/nats-io/jwt v0.3.2 // indirect
github.com/nats-io/nats.go v1.9.1 // indirect
github.com/opentracing/opentracing-go v1.1.0 // indirect
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/prometheus/client_golang v1.3.0 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/sirupsen/logrus v1.8.1
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.6.1 // indirect
github.com/topfreegames/go-workers v1.0.1 // indirect
github.com/topfreegames/pitaya v1.0.0
github.com/topfreegames/pitaya/v2 v2.0.4
go.uber.org/atomic v1.5.1 // indirect
go.uber.org/multierr v1.4.0 // indirect
go.uber.org/zap v1.13.0 // indirect
golang.org/x/crypto v0.0.0-20191219195013-becbf705a915 // indirect
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 // indirect
golang.org/x/sys v0.0.0-20191224085550-c709ea063b76 // indirect
golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40 // indirect
google.golang.org/genproto v0.0.0-20191223191004-3caeed10a8bf // indirect
google.golang.org/grpc v1.26.0 // indirect
gopkg.in/abiosoft/ishell.v2 v2.0.0
gopkg.in/go-playground/validator.v9 v9.30.2 // indirect
gopkg.in/yaml.v2 v2.2.7 // indirect
sigs.k8s.io/yaml v1.1.0 // indirect
)
575 changes: 450 additions & 125 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"github.com/mitchellh/go-homedir"
"github.com/sirupsen/logrus"
"github.com/topfreegames/pitaya/client"
"github.com/topfreegames/pitaya/v2/client"
"gopkg.in/abiosoft/ishell.v2"
)

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"flag"
"sync"

"github.com/topfreegames/pitaya/client"
"github.com/topfreegames/pitaya/session"
"github.com/topfreegames/pitaya/v2/client"
"github.com/topfreegames/pitaya/v2/session"
)

var (
Expand Down