Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Commit 02f1ff5

Browse files
committed
Use broadcast beta version
1 parent 97d335d commit 02f1ff5

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

conn_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55

66
"github.com/gorilla/websocket"
7-
"github.com/spiral/broadcast"
7+
"github.com/spiral/broadcast/v2"
88
)
99

1010
// ConnContext carries information about websocket connection and it's topics.

conn_pool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"sync"
66

77
"github.com/gorilla/websocket"
8-
"github.com/spiral/broadcast"
8+
"github.com/spiral/broadcast/v2"
99
)
1010

1111
// manages a set of websocket connections

go.mod

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ module github.com/spiral/broadcast-ws
33
go 1.12
44

55
require (
6-
github.com/gorilla/websocket v1.4.1
7-
github.com/prometheus/client_golang v1.2.1
8-
github.com/sirupsen/logrus v1.4.2
9-
github.com/spf13/cobra v0.0.5
10-
github.com/spiral/broadcast v0.0.0-20191206140608-766959683e74
11-
github.com/spiral/roadrunner v1.5.2
12-
github.com/stretchr/testify v1.3.0
6+
github.com/gorilla/websocket v1.4.2
7+
github.com/prometheus/client_golang v1.7.1
8+
github.com/sirupsen/logrus v1.6.0
9+
github.com/spf13/cobra v1.0.0
10+
github.com/spiral/broadcast/v2 v2.0.5-beta.1
11+
github.com/spiral/roadrunner v1.9.2
12+
github.com/stretchr/testify v1.6.1
1313
)

service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync/atomic"
88

99
"github.com/gorilla/websocket"
10-
"github.com/spiral/broadcast"
10+
"github.com/spiral/broadcast/v2"
1111
"github.com/spiral/roadrunner/service/env"
1212
rhttp "github.com/spiral/roadrunner/service/http"
1313
"github.com/spiral/roadrunner/service/rpc"

service_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/gorilla/websocket"
1313
"github.com/sirupsen/logrus"
1414
"github.com/sirupsen/logrus/hooks/test"
15-
"github.com/spiral/broadcast"
15+
"github.com/spiral/broadcast/v2"
1616
"github.com/spiral/roadrunner/service"
1717
"github.com/spiral/roadrunner/service/env"
1818
rrhttp "github.com/spiral/roadrunner/service/http"

0 commit comments

Comments
 (0)