(req *proto.Send)
| 102 | } |
| 103 | |
| 104 | func (rpc *RpcLogic) Push(req *proto.Send) (code int, msg string) { |
| 105 | reply := &proto.SuccessReply{} |
| 106 | LogicRpcClient.Call(context.Background(), "Push", req, reply) |
| 107 | code = reply.Code |
| 108 | msg = reply.Msg |
| 109 | return |
| 110 | } |
| 111 | |
| 112 | func (rpc *RpcLogic) PushRoom(req *proto.Send) (code int, msg string) { |
| 113 | reply := &proto.SuccessReply{} |