12345678910111213141516171819202122232425 |
- syntax = "proto3";
- import "v1/device.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-mqtt/pb";
- // The system service definition.
- service Device {
- // 门禁远程命令结果
- rpc GateCommandResult(pb_v1.GateCommandResultRequest) returns (pb_v1.GateCommandResultReply){}
- // 门禁在线
- rpc GateOnline(pb_v1.GateOnlineRequest) returns (pb_v1.GateOnlineReply){}
- // 门禁进出记录添加
- rpc GateRecordAdd(pb_v1.GateRecordAddRequest) returns (pb_v1.GateRecordAddReply){}
- // 人脸门禁所有id
- rpc MqttFaceGate(pb_v1.MqttFaceGateRequest) returns (pb_v1.MqttFaceGateReply){}
- // 门禁白名单匹配
- rpc GateWhiteMatch(pb_v1.GateWhiteMatchRequest) returns (pb_v1.GateWhiteMatchReply){}
- // 访客检查
- rpc GateVisitorCheck(pb_v1.GateVisitorCheckRequest) returns (pb_v1.GateVisitorCheckReply){}
- }
|