github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/commander/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.app.commander; 4 option csharp_namespace = "V2Ray.Core.App.Commander"; 5 option go_package = "github.com/v2fly/v2ray-core/v5/app/commander"; 6 option java_package = "com.v2ray.core.app.commander"; 7 option java_multiple_files = true; 8 9 import "google/protobuf/any.proto"; 10 import "common/protoext/extensions.proto"; 11 12 // Config is the settings for Commander. 13 message Config { 14 // Tag of the outbound handler that handles grpc connections. 15 string tag = 1; 16 // Services that supported by this server. All services must implement Service 17 // interface. 18 repeated google.protobuf.Any service = 2; 19 } 20 21 // ReflectionConfig is the placeholder config for ReflectionService. 22 message ReflectionConfig { 23 option (v2ray.core.common.protoext.message_opt).type = "grpcservice"; 24 option (v2ray.core.common.protoext.message_opt).short_name = "reflection"; 25 } 26 27 28 message SimplifiedConfig { 29 option (v2ray.core.common.protoext.message_opt).type = "service"; 30 option (v2ray.core.common.protoext.message_opt).short_name = "commander"; 31 32 string tag = 1; 33 repeated string name = 2; 34 }