seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
609B

  1. syntax = "proto3";
  2. option java_multiple_files = true;
  3. option java_package = "com.alibaba.csp.sentinel.adapter.grpc.gen";
  4. option java_outer_classname = "FooProto";
  5. package com.alibaba.sentinel.examples;
  6. message FooRequest {
  7. string name = 1;
  8. int32 id = 2;
  9. }
  10. message FooResponse {
  11. string message = 1;
  12. }
  13. // Example service definition.
  14. service FooService {
  15. rpc sayHello(FooRequest) returns (FooResponse) {}
  16. rpc anotherHello(FooRequest) returns (FooResponse) {}
  17. rpc helloWithEx(FooRequest) returns (FooResponse) {}
  18. rpc anotherHelloWithEx(FooRequest) returns (FooResponse) {}
  19. }