new feature multi user auth with socks5

This commit is contained in:
zhangwei
2019-09-10 23:14:05 +08:00
parent 18c11f108b
commit fce53fa308
7 changed files with 81 additions and 28 deletions

View File

@@ -25,10 +25,12 @@ func (s *Flow) Add(in, out int64) {
}
type Config struct {
U string
P string
Compress bool
Crypt bool
U string
P string
Compress bool
Crypt bool
MultiUser bool // enable multi user authentication.
MultiUserMap map[string]string // multi user and pwd
}
type Client struct {