Prepare v2ray client/server transport

This commit is contained in:
世界
2022-08-22 18:53:47 +08:00
parent fbda05239d
commit dbf12fb14d
27 changed files with 1490 additions and 74 deletions

6
go.mod
View File

@@ -5,7 +5,7 @@ go 1.18
require (
berty.tech/go-libtor v1.0.385
github.com/cretz/bine v0.2.0
github.com/database64128/tfo-go v1.1.1
github.com/database64128/tfo-go v1.1.2
github.com/dustin/go-humanize v1.0.0
github.com/fsnotify/fsnotify v1.5.4
github.com/go-chi/chi/v5 v5.0.7
@@ -32,6 +32,8 @@ require (
golang.org/x/net v0.0.0-20220812174116-3211cb980234
golang.org/x/sys v0.0.0-20220818161305-2296e01440c6
golang.zx2c4.com/wireguard v0.0.0-20220703234212-c31a7b1ab478
google.golang.org/grpc v1.48.0
google.golang.org/protobuf v1.28.1
gvisor.dev/gvisor v0.0.0-20220812001733-b5c0f23893fb
)
@@ -40,6 +42,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/btree v1.0.1 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/klauspost/cpuid/v2 v2.1.0 // indirect
@@ -64,6 +67,7 @@ require (
golang.org/x/tools v0.1.10 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
golang.zx2c4.com/wintun v0.0.0-20211104114900-415007cec224 // indirect
google.golang.org/genproto v0.0.0-20210722135532-667f2b7c528f // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/blake3 v1.1.7 // indirect