system_service.proto 523 B

123456789101112131415161718
  1. syntax = "proto3";
  2. import "v1/system.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-household-gateway/pb";
  7. // The system service definition.
  8. service System {
  9. rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
  10. rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){}
  11. rpc GardenIds(pb_v1.GardenIdsRequest) returns (pb_v1.GardenIdsReply){}
  12. }