1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-01 06:34:03 -04:00
Files
v2fly/app/observatory/command/command.proto

29 lines
839 B
Protocol Buffer
Raw Normal View History

2021-03-06 13:33:20 +00:00
syntax = "proto3";
package v2ray.core.app.observatory.command;
option csharp_namespace = "V2Ray.Core.App.Observatory.Command";
option go_package = "github.com/v2fly/v2ray-core/v5/app/observatory/command";
2021-03-06 13:33:20 +00:00
option java_package = "com.v2ray.core.app.observatory.command";
option java_multiple_files = true;
2023-11-21 23:03:20 +00:00
import "common/protoext/extensions.proto";
2021-03-06 13:33:20 +00:00
import "app/observatory/config.proto";
message GetOutboundStatusRequest {
2021-06-19 11:20:49 +01:00
string Tag = 1;
2021-03-06 13:33:20 +00:00
}
message GetOutboundStatusResponse {
v2ray.core.app.observatory.ObservationResult status = 1;
}
service ObservatoryService {
rpc GetOutboundStatus(GetOutboundStatusRequest)
returns (GetOutboundStatusResponse) {}
}
2023-11-21 23:03:20 +00:00
message Config {
option (v2ray.core.common.protoext.message_opt).type = "grpcservice";
option (v2ray.core.common.protoext.message_opt).short_name = "observatory";
}