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.
|
- syntax = "proto3";
- package pb;
- option go_package = "egg-im/pkg/pb/";
-
- import "common.ext.proto";
- import "connect.ext.proto";
-
- service ConnectInt {
- // 消息投递
- rpc DeliverMessage (DeliverMessageReq) returns (Empty);
- }
-
- message DeliverMessageReq {
- int64 device_id = 1; // 设备id
- MessageSend message_send = 2; // 数据
- }
-
- // 房间推送
- message PushRoomMsg{
- int64 room_id = 1; // 设备id
- MessageSend message_send = 2; // 数据
- }
-
- // 房间推送
- message PushAllMsg{
- MessageSend message_send = 2; // 数据
- }
|