format code

This commit is contained in:
V2Ray committed 2015-09-06 22:10:42 +02:00
1 parent 530f749aa3
commit a45498da45
6 files changed
+66 -69

No files matched your search

+7 -7
View File
@@ -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)
}