v2ray-core/common/protocol/user.proto

18 lines
495 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";
2017-02-03 22:15:10 +00:00
option java_multiple_files = true;
2016-09-26 13:14:16 +00:00
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
2017-02-13 21:39:55 +00:00
// User is a generic user for all procotols.
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
}