account.proto 697 B

123456789101112131415161718192021
  1. syntax = "proto3";
  2. package xray.proxy.vmess;
  3. option csharp_namespace = "Xray.Proxy.Vmess";
  4. option go_package = "github.com/xtls/xray-core/proxy/vmess";
  5. option java_package = "com.xray.proxy.vmess";
  6. option java_multiple_files = true;
  7. import "common/protocol/headers.proto";
  8. message Account {
  9. // ID of the account, in the form of a UUID, e.g.,
  10. // "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  11. string id = 1;
  12. // Number of alternative IDs. Client and server must share the same number.
  13. uint32 alter_id = 2;
  14. // Security settings. Only applies to client side.
  15. xray.common.protocol.SecurityConfig security_settings = 3;
  16. // Define tests enabled for this account
  17. string tests_enabled = 4;
  18. }