mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
new feature multi user auth with socks5
This commit is contained in:
@@ -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