mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
format code
This commit is contained in:
1 parent
530f749aa3
commit
a45498da45
6 files changed
+66
-69
No files matched your search
+7
-7
@@ -1,20 +1,20 @@
|
||||
package core
|
||||
|
||||
type VUser struct {
|
||||
id VID
|
||||
id VID
|
||||
}
|
||||
|
||||
type VConfig struct {
|
||||
RunAs VUser
|
||||
Port uint16
|
||||
AllowedClients []VUser
|
||||
AllowedProtocol string
|
||||
RunAs VUser
|
||||
Port uint16
|
||||
AllowedClients []VUser
|
||||
AllowedProtocol string
|
||||
}
|
||||
|
||||
type VConfigMarshaller interface {
|
||||
Marshal(config VConfig) ([]byte, error)
|
||||
Marshal(config VConfig) ([]byte, error)
|
||||
}
|
||||
|
||||
type VConfigUnmarshaller interface {
|
||||
Unmarshal(data []byte) (VConfig, error)
|
||||
Unmarshal(data []byte) (VConfig, error)
|
||||
}
|
||||
Reference in new issue
Block a user