1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00
v2fly/app/commander/config.proto

34 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

2018-02-05 17:38:24 -05:00
syntax = "proto3";
package v2ray.core.app.commander;
option csharp_namespace = "V2Ray.Core.App.Commander";
2021-02-16 15:31:50 -05:00
option go_package = "github.com/v2fly/v2ray-core/v4/app/commander";
2018-02-05 17:38:24 -05:00
option java_package = "com.v2ray.core.app.commander";
option java_multiple_files = true;
import "google/protobuf/any.proto";
2021-09-07 09:33:00 -04:00
import "common/protoext/extensions.proto";
2018-02-08 17:24:35 -05:00
// Config is the settings for Commander.
2018-02-05 17:38:24 -05:00
message Config {
2018-02-08 17:24:35 -05:00
// Tag of the outbound handler that handles grpc connections.
2018-02-05 17:38:24 -05:00
string tag = 1;
// Services that supported by this server. All services must implement Service
// interface.
2021-06-19 09:36:54 -04:00
repeated google.protobuf.Any service = 2;
2018-02-05 17:38:24 -05:00
}
2020-11-19 12:57:31 -05:00
// ReflectionConfig is the placeholder config for ReflectionService.
2021-09-07 09:43:45 -04:00
message ReflectionConfig {
option (v2ray.core.common.protoext.message_opt).type = "grpcservice";
option (v2ray.core.common.protoext.message_opt).short_name = "reflection";
}
2021-09-07 09:33:00 -04:00
message SimplifiedConfig {
option (v2ray.core.common.protoext.message_opt).type = "service";
option (v2ray.core.common.protoext.message_opt).short_name = "commander";
string tag = 1;
repeated string name = 2;
}