mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
new feature multi user auth with socks5
This commit is contained in:
1 parent
18c11f108b
commit
fce53fa308
7 files changed
+81
-28
No files matched your search
+6
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user