附近小店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

im.connect.int.proto 534 B

1 maand geleden
12345678910111213141516171819202122232425262728
  1. syntax = "proto3";
  2. package pb;
  3. option go_package = "gim/pkg/pb/";
  4. import "im.common.ext.proto";
  5. import "im.connect.ext.proto";
  6. service ConnectInt {
  7. // 消息投递
  8. rpc DeliverMessage (DeliverMessageReq) returns (Empty);
  9. }
  10. message DeliverMessageReq {
  11. int64 device_id = 1; // 设备id
  12. MessageSend message_send = 2; // 数据
  13. }
  14. // 房间推送
  15. message PushRoomMsg{
  16. int64 room_id = 1; // 设备id
  17. MessageSend message_send = 2; // 数据
  18. }
  19. // 房间推送
  20. message PushAllMsg{
  21. MessageSend message_send = 2; // 数据
  22. }