Migrate components to library

This commit is contained in:
世界
2022-07-11 18:44:59 +08:00
parent f548511d7e
commit 3d16df288c
46 changed files with 109 additions and 2438 deletions

8
go.mod
View File

@@ -7,15 +7,16 @@ require (
github.com/goccy/go-json v0.9.8
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/oschwald/maxminddb-golang v1.9.0
github.com/sagernet/sing v0.0.0-20220710135805-84be1c5eb67a
github.com/sagernet/sing v0.0.0-20220711103842-d3fb2260ef61
github.com/sagernet/sing-dns v0.0.0-20220711062726-c64e938e4619
github.com/sagernet/sing-shadowsocks v0.0.0-20220701084835-2208da1d8649
github.com/sagernet/sing-tun v0.0.0-20220711091522-4f7247190c96
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.5.0
github.com/stretchr/testify v1.8.0
github.com/vishvananda/netlink v1.0.1-0.20190930145447-2ec5bdc52b86
github.com/vishvananda/netlink v1.1.0
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
golang.org/x/net v0.0.0-20220708220712-1185a9018129
gvisor.dev/gvisor v0.0.0-20220708233959-72bdef768f07
)
require (
@@ -31,5 +32,6 @@ require (
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gvisor.dev/gvisor v0.0.0-20220711011657-cecae2f4234d // indirect
lukechampine.com/blake3 v1.1.7 // indirect
)