123456789101112131415161718192021 |
- syntax = "proto3";
- package proto;
- // The greeting service definition.
- service Safe {
- // Sends a greeting
- rpc getSafeList (SafeRequest) returns (SafeReply) {}
- }
- // The request message containing the user's name.
- message SafeRequest {
- int32 id = 1;
- }
- // The response message containing the greetings
- message SafeReply {
- int32 code = 1;
- string data = 2;
- string message = 3;
- }
|