v2ray-core/common/protocol/user.proto

17 lines
458 B
Protocol Buffer
Raw Normal View History

2016-09-17 22:41:21 +00:00
syntax = "proto3";
2016-09-26 13:14:16 +00:00
package v2ray.core.common.protocol;
2016-12-22 23:24:28 +00:00
option csharp_namespace = "V2Ray.Core.Common.Protocol";
2016-09-17 22:41:21 +00:00
option go_package = "protocol";
2016-09-26 13:14:16 +00:00
option java_package = "com.v2ray.core.common.protocol";
option java_outer_classname = "UserProto";
2016-12-15 10:51:09 +00:00
import "v2ray.com/core/common/serial/typed_message.proto";
2016-09-17 22:41:21 +00:00
message User {
uint32 level = 1;
string email = 2;
2016-10-17 22:12:09 +00:00
// Protocol specific account information.
2016-12-15 10:51:09 +00:00
v2ray.core.common.serial.TypedMessage account = 3;
2016-09-17 22:41:21 +00:00
}