12345678910111213141516171819 |
- syntax = "proto3";
- import "v1/system.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-household/pb";
- // The system service definition.
- service System {
- rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
- rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){}
- rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){}
- rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){}
- rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){}
- }
|