account.proto 711 B

123456789101112131415161718192021222324
  1. syntax = "proto3";
  2. package v2ray.core.proxy.vmess;
  3. option csharp_namespace = "V2Ray.Core.Proxy.Vmess";
  4. option go_package = "vmess";
  5. option java_package = "com.v2ray.core.proxy.vmess";
  6. option java_outer_classname = "AccountProto";
  7. import "v2ray.com/core/common/protocol/headers.proto";
  8. message Multiplexing {
  9. bool enabled = 1;
  10. }
  11. message Account {
  12. // ID of the account, in the form of an UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
  13. string id = 1;
  14. // Number of alternative IDs. Client and server must share the same number.
  15. uint32 alter_id = 2;
  16. // Security settings. Only applies to client side.
  17. v2ray.core.common.protocol.SecurityConfig security_settings = 3;
  18. Multiplexing mux = 4;
  19. }