server_config.proto 378 B

123456789101112131415161718
  1. syntax = "proto3";
  2. package com.v2ray.core.proxy.socks;
  3. option go_package = "socks";
  4. import "v2ray.com/core/common/net/address.proto";
  5. message ServerConfig {
  6. enum AuthType {
  7. NO_AUTH = 0;
  8. PASSWORD = 1;
  9. }
  10. AuthType auth_type = 1;
  11. map<string, string> accounts = 2;
  12. com.v2ray.core.common.net.AddressPB address = 3;
  13. bool udp_enabled = 4;
  14. uint32 timeout = 5;
  15. }