config.proto 752 B

12345678910111213141516171819202122232425
  1. syntax = "proto3";
  2. package xray.app.commander;
  3. option csharp_namespace = "Xray.App.Commander";
  4. option go_package = "github.com/xtls/xray-core/app/commander";
  5. option java_package = "com.xray.app.commander";
  6. option java_multiple_files = true;
  7. import "common/serial/typed_message.proto";
  8. // Config is the settings for Commander.
  9. message Config {
  10. // Tag of the outbound handler that handles grpc connections.
  11. string tag = 1;
  12. // Network address of commander grpc service.
  13. string listen = 3;
  14. // Services that supported by this server. All services must implement Service
  15. // interface.
  16. repeated xray.common.serial.TypedMessage service = 2;
  17. }
  18. // ReflectionConfig is the placeholder config for ReflectionService.
  19. message ReflectionConfig {}