This commit is contained in:
刘河
2019-10-17 09:21:01 +08:00
parent 5e5df224b7
commit b6a9001d43
9 changed files with 371 additions and 86 deletions

View File

@@ -9,6 +9,10 @@ func TestNewS5Server(t *testing.T) {
g := make(map[string]string)
c := make(map[string]string)
p := make(map[string]string)
p["socks5_check_access"] = "true"
p["socks5_simple_access_check"] = "true"
p["socks5_simple_access_username"] = "111"
p["socks5_simple_access_password"] = "222"
s5 := NewS5Server(g, c, p, "", 1099)
ctx := context.Background()
s5.Start(ctx)