Add windows support

This commit is contained in:
世界 2022-07-13 18:59:09 +08:00
parent 4f7247190c
commit 6c2c28da9d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
54 changed files with 7023 additions and 191 deletions

2
go.mod
View file

@ -5,12 +5,12 @@ go 1.18
require (
github.com/sagernet/sing v0.0.0-20220711062652-4394f7cbbae1
github.com/vishvananda/netlink v1.1.0
golang.org/x/sys v0.0.0-20220712014510-0a85c31ab51e
gvisor.dev/gvisor v0.0.0-20220711011657-cecae2f4234d
)
require (
github.com/google/btree v1.0.1 // indirect
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
)