mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
Full implementation of Socks5 protocol, proxying is on the way
This commit is contained in:
1 parent
5317b7d112
commit
fb1ad8b81b
7 files changed
+121
-10
No files matched your search
+4
-4
@@ -1,17 +1,17 @@
|
||||
package core
|
||||
|
||||
// User account that is used for connection to a VPoint
|
||||
// VUser is the user account that is used for connection to a VPoint
|
||||
type VUser struct {
|
||||
id VID // The ID of this VUser.
|
||||
Id VID // The ID of this VUser.
|
||||
}
|
||||
|
||||
// The next VPoint server in the connection chain.
|
||||
// VNext is the next VPoint server in the connection chain.
|
||||
type VNext struct {
|
||||
ServerAddress string // Address of VNext server, in the form of "IP:Port"
|
||||
User []VUser // User accounts for accessing VNext.
|
||||
}
|
||||
|
||||
// The config for VPoint server.
|
||||
// VConfig is the config for VPoint server.
|
||||
type VConfig struct {
|
||||
Port uint16 // Port of this VPoint server.
|
||||
AllowedClients []VUser
|
||||
|
||||
Reference in new issue
Block a user