16 lines
402 B
Protocol Buffer
Raw Normal View History

2016-09-18 00:41:21 +02:00
syntax = "proto3";
2016-09-26 15:14:16 +02:00
package v2ray.core.common.protocol;
2016-09-18 00:41:21 +02:00
option go_package = "protocol";
2016-09-26 15:14:16 +02:00
option java_package = "com.v2ray.core.common.protocol";
option java_outer_classname = "UserProto";
2016-12-15 11:51:09 +01:00
import "v2ray.com/core/common/serial/typed_message.proto";
2016-09-18 00:41:21 +02:00
message User {
uint32 level = 1;
string email = 2;
2016-10-18 00:12:09 +02:00
// Protocol specific account information.
2016-12-15 11:51:09 +01:00
v2ray.core.common.serial.TypedMessage account = 3;
2016-09-18 00:41:21 +02:00
}