v2fly/common/protocol/user.proto

20 lines
555 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";
2021-02-16 20:31:50 +00:00
option go_package = "github.com/v2fly/v2ray-core/v4/common/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
import "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. Must be the account proto in one of
// the proxies.
2021-06-19 13:36:54 +00:00
google.protobuf.Any account = 3;
}