1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-31 16:27:41 -04:00
v2fly/common/protocol/user.proto

18 lines
544 B
Protocol Buffer
Raw Normal View History

2016-09-17 18:41:21 -04:00
syntax = "proto3";
2016-09-26 09:14:16 -04:00
package v2ray.core.common.protocol;
2016-12-22 18:24:28 -05:00
option csharp_namespace = "V2Ray.Core.Common.Protocol";
2016-09-17 18:41:21 -04:00
option go_package = "protocol";
2016-09-26 09:14:16 -04:00
option java_package = "com.v2ray.core.common.protocol";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-09-26 09:14:16 -04:00
2016-12-15 05:51:09 -05:00
import "v2ray.com/core/common/serial/typed_message.proto";
2016-09-17 18:41:21 -04:00
2017-02-13 16:39:55 -05:00
// User is a generic user for all procotols.
2016-09-17 18:41:21 -04:00
message User {
uint32 level = 1;
string email = 2;
2016-10-17 18:12:09 -04:00
2018-01-04 05:24:17 -05:00
// Protocol specific account information. Must be the account proto in one of the proxies.
2016-12-15 05:51:09 -05:00
v2ray.core.common.serial.TypedMessage account = 3;
2016-09-17 18:41:21 -04:00
}