safe.proto 412 B

123456789101112131415161718192021
  1. syntax = "proto3";
  2. package proto;
  3. // The greeting service definition.
  4. service Safe {
  5. // Sends a greeting
  6. rpc getSafeList (SafeRequest) returns (SafeReply) {}
  7. }
  8. // The request message containing the user's name.
  9. message SafeRequest {
  10. int32 id = 1;
  11. }
  12. // The response message containing the greetings
  13. message SafeReply {
  14. int32 code = 1;
  15. string data = 2;
  16. string message = 3;
  17. }