v2ray-core/proxy/vmess/account.proto

21 lines
699 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.proxy.vmess;
2016-12-22 23:24:28 +00:00
option csharp_namespace = "V2Ray.Core.Proxy.Vmess";
2016-09-17 22:41:21 +00:00
option go_package = "vmess";
2016-09-26 13:14:16 +00:00
option java_package = "com.v2ray.core.proxy.vmess";
2017-02-03 22:15:10 +00:00
option java_multiple_files = true;
2016-09-26 13:14:16 +00:00
2016-12-07 20:43:41 +00:00
import "v2ray.com/core/common/protocol/headers.proto";
2016-10-12 16:43:55 +00:00
message Account {
2018-04-02 07:52:16 +00:00
// ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
2016-09-17 22:41:21 +00:00
string id = 1;
2016-12-21 11:53:31 +00:00
// Number of alternative IDs. Client and server must share the same number.
2016-09-24 21:11:58 +00:00
uint32 alter_id = 2;
2016-12-21 11:53:31 +00:00
// Security settings. Only applies to client side.
2016-12-11 13:58:53 +00:00
v2ray.core.common.protocol.SecurityConfig security_settings = 3;
// Define tests enabled for this account
string tests_enabled = 4;
2016-09-17 22:41:21 +00:00
}