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.

преди 3 дни
преди 2 дни
преди 3 дни
123456789101112131415161718192021
  1. package app
  2. import (
  3. "context"
  4. "egg-im/internal/logic/domain/room"
  5. "egg-im/pkg/pb"
  6. )
  7. type roomApp struct{}
  8. var RoomApp = new(roomApp)
  9. // Push 推送房间消息
  10. func (s *roomApp) Push(ctx context.Context, sender *pb.Sender, req *pb.PushRoomReq) error {
  11. return room.RoomService.Push(ctx, sender, req)
  12. }
  13. // SubscribeRoom 订阅房间
  14. func (s *roomApp) SubscribeRoom(ctx context.Context, req *pb.SubscribeRoomReq) error {
  15. return room.RoomService.SubscribeRoom(ctx, req)
  16. }