This commit is contained in:
V2Ray committed 2015-09-05 17:48:38 +02:00
commit 4c03bf0d45
10 files changed
+338

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
package core
type VUser struct {
id VID
}
type VConfig struct {
RunAs VUser
Port uint16
AllowedClients []VUser
AllowedProtocol string
}
type VConfigMarshaller interface {
Marshal(config VConfig) ([]byte, error)
}
type VConfigUnmarshaller interface {
Unmarshal(data []byte) (VConfig, error)
}