command.proto 839 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package v2ray.core.app.observatory.command;
  3. option csharp_namespace = "V2Ray.Core.App.Observatory.Command";
  4. option go_package = "github.com/v2fly/v2ray-core/v5/app/observatory/command";
  5. option java_package = "com.v2ray.core.app.observatory.command";
  6. option java_multiple_files = true;
  7. import "common/protoext/extensions.proto";
  8. import "app/observatory/config.proto";
  9. message GetOutboundStatusRequest {
  10. string Tag = 1;
  11. }
  12. message GetOutboundStatusResponse {
  13. v2ray.core.app.observatory.ObservationResult status = 1;
  14. }
  15. service ObservatoryService {
  16. rpc GetOutboundStatus(GetOutboundStatusRequest)
  17. returns (GetOutboundStatusResponse) {}
  18. }
  19. message Config {
  20. option (v2ray.core.common.protoext.message_opt).type = "grpcservice";
  21. option (v2ray.core.common.protoext.message_opt).short_name = "observatory";
  22. }