mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Bump snowflake library imports and go.mod to v2
This commit is contained in:
parent
f6b6342a3a
commit
ead5a960d7
27 changed files with 44 additions and 67 deletions
|
@ -11,9 +11,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/encapsulation"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/websocketconn"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/encapsulation"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/turbotunnel"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/websocketconn"
|
||||
"github.com/gorilla/websocket"
|
||||
)
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/turbotunnel"
|
||||
"github.com/xtaci/kcp-go/v5"
|
||||
"github.com/xtaci/smux"
|
||||
"golang.org/x/net/http2"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net"
|
||||
"sync"
|
||||
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/turbotunnel"
|
||||
)
|
||||
|
||||
// clientIDMap is a fixed-capacity mapping from ClientIDs to a net.Addr.
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net"
|
||||
"testing"
|
||||
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel"
|
||||
"git.torproject.org/pluggable-transports/snowflake.git/v2/common/turbotunnel"
|
||||
)
|
||||
|
||||
func TestClientIDMap(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue