mqtt_service.proto 674 B

1234567891011121314151617
  1. syntax = "proto3";
  2. import "v1/mqtt.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-mqtt/pb";
  7. // The system service definition.
  8. service Mqtt {
  9. rpc FaceWhiteAdd(pb_v1.FaceWhiteAddRequest) returns (pb_v1.FaceWhiteAddReply){}
  10. rpc FaceWhiteDel(pb_v1.FaceWhiteDelRequest) returns (pb_v1.FaceWhiteDelReply){}
  11. rpc FaceReboot(pb_v1.FaceRebootRequest) returns (pb_v1.FaceRebootReply){}
  12. rpc FaceOpen(pb_v1.FaceOpenRequest) returns (pb_v1.FaceOpenReply){}
  13. rpc NewMqttDevice(pb_v1.NewMqttDeviceRequest) returns (pb_v1.NewMqttDeviceReply){}
  14. }