Skip to content

Commit f3ee7ae

Browse files
committed
move websockets to sdk
1 parent 3d09b94 commit f3ee7ae

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ require (
66
github.com/eycorsican/go-tun2socks v1.16.11
77
github.com/google/go-licenses v1.6.0
88
github.com/google/gopacket v1.1.19
9+
github.com/gorilla/websocket v1.5.3
910
github.com/shadowsocks/go-shadowsocks2 v0.1.5
1011
github.com/stretchr/testify v1.8.4
1112
github.com/things-go/go-socks5 v0.0.5

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/Oth
205205
github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM=
206206
github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c=
207207
github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4=
208+
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
209+
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
208210
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
209211
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
210212
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
File renamed without changes.
File renamed without changes.

x/configurl/websocket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"strings"
2424

2525
"github.com/Jigsaw-Code/outline-sdk/transport"
26-
"github.com/Jigsaw-Code/outline-sdk/x/websocket"
26+
"github.com/Jigsaw-Code/outline-sdk/websocket"
2727
)
2828

2929
type wsConfig struct {

x/examples/ws2endpoint/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
"time"
2828

2929
"github.com/Jigsaw-Code/outline-sdk/transport"
30+
"github.com/Jigsaw-Code/outline-sdk/websocket"
3031
"github.com/Jigsaw-Code/outline-sdk/x/configurl"
31-
"github.com/Jigsaw-Code/outline-sdk/x/websocket"
3232
"github.com/lmittmann/tint"
3333
"golang.org/x/term"
3434
)

0 commit comments

Comments
 (0)