mirror of https://github.com/XTLS/Xray-core
				
				
				
			
		
			
				
	
	
		
			22 lines
		
	
	
		
			697 B
		
	
	
	
		
			Protocol Buffer
		
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			697 B
		
	
	
	
		
			Protocol Buffer
		
	
	
| syntax = "proto3";
 | |
| 
 | |
| package xray.proxy.vmess;
 | |
| option csharp_namespace = "Xray.Proxy.Vmess";
 | |
| option go_package = "github.com/xtls/xray-core/proxy/vmess";
 | |
| option java_package = "com.xray.proxy.vmess";
 | |
| option java_multiple_files = true;
 | |
| 
 | |
| import "common/protocol/headers.proto";
 | |
| 
 | |
| message Account {
 | |
|   // ID of the account, in the form of a UUID, e.g.,
 | |
|   // "66ad4540-b58c-4ad2-9926-ea63445a9b57".
 | |
|   string id = 1;
 | |
|   // Number of alternative IDs. Client and server must share the same number.
 | |
|   uint32 alter_id = 2;
 | |
|   // Security settings. Only applies to client side.
 | |
|   xray.common.protocol.SecurityConfig security_settings = 3;
 | |
|   // Define tests enabled for this account
 | |
|   string tests_enabled = 4;
 | |
| }
 |