allow dynamic type of user accounts

This commit is contained in:
v2ray committed 2016-05-28 13:44:11 +02:00
1 parent 87f664048b
commit 3f9cb1136a
18 files changed
+123 -49

No files matched your search

+4 -2
View File
@@ -15,8 +15,10 @@ func TestRequestSerialization(t *testing.T) {
assert := assert.On(t)
user := protocol.NewUser(
protocol.NewID(uuid.New()),
nil,
&protocol.VMessAccount{
ID: protocol.NewID(uuid.New()),
AlterIDs: nil,
},
protocol.UserLevelUntrusted,
"test@v2ray.com")