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

demo.proto 812 B

3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435
  1. syntax = "proto3";
  2. package demo;
  3. option go_package = "code.gitlink.org.cn/JCCE/PCM/lan_trans/gen/idl/demo";
  4. import "google/api/annotations.proto";
  5. import "protoc-gen-openapiv2/options/annotations.proto";
  6. enum OurTeam {
  7. // github: devad
  8. devad = 0;
  9. }
  10. message StringMessage {string value = 1;}
  11. // 样例服务
  12. service DemoService {
  13. // Echo 样例接口
  14. rpc Echo(StringMessage) returns (StringMessage) {
  15. option (google.api.http) = {
  16. post : "/apis/demo"
  17. body : "*"
  18. };
  19. option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
  20. deprecated : true // For testing purposes.
  21. external_docs : {
  22. url : "https://github.com/grpc-ecosystem/grpc-gateway"
  23. description : "Find out more about the interface"
  24. }
  25. security : {}
  26. };
  27. }
  28. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.