feat: add port whitelist, empty is all port

This commit is contained in:
Skyxim
2022-04-21 06:50:20 -07:00
parent 58cd8f9ac1
commit be8eb7c17c
6 changed files with 111 additions and 28 deletions

1
go.mod
View File

@@ -21,6 +21,7 @@ require (
go.uber.org/atomic v1.9.0
go.uber.org/automaxprocs v1.5.1
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
golang.org/x/exp v0.0.0-20220414153411-bcd21879b8fd
golang.org/x/net v0.0.0-20220412020605-290c469a71a5
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20220412071739-889880a91fd5