chat_grpc.pb.go 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package chat
  3. import (
  4. context "context"
  5. common "git.ikuban.com/server/pw-protobuf/api/common"
  6. grpc "google.golang.org/grpc"
  7. codes "google.golang.org/grpc/codes"
  8. status "google.golang.org/grpc/status"
  9. emptypb "google.golang.org/protobuf/types/known/emptypb"
  10. )
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the grpc package it is being compiled against.
  13. // Requires gRPC-Go v1.32.0 or later.
  14. const _ = grpc.SupportPackageIsVersion7
  15. // ChatClient is the client API for Chat service.
  16. //
  17. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  18. type ChatClient interface {
  19. // 检查用户是否与接待员聊天
  20. CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserAndPartnerIdentifyIdParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error)
  21. // 创建聊天房间
  22. CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error)
  23. // 查询在线人的列表
  24. FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  25. // 查询推荐人的列表
  26. FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  27. // 接待员查询房间列表
  28. PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error)
  29. // 用户查询房间列表
  30. UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error)
  31. Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error)
  32. // 查询聊天记录
  33. FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  34. // 房间信息
  35. FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  36. // 拉黑
  37. SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  38. // 删除房间
  39. DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  40. // 拉黑
  41. Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  42. // 接待员领取开通奖励
  43. PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error)
  44. // 房间信息
  45. FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
  46. // 查询未处理的数据
  47. FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error)
  48. // 创建纸条
  49. CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  50. // 删除纸条
  51. DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  52. // 查询自己的小纸条
  53. FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  54. // 查询随机纸条列表
  55. FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  56. // 用户查看纸条
  57. PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  58. // 用户点击回看
  59. PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
  60. // 回复小纸条
  61. PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  62. // 获取假弹窗
  63. GetWindowInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*WindowInfo, error)
  64. }
  65. type chatClient struct {
  66. cc grpc.ClientConnInterface
  67. }
  68. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  69. return &chatClient{cc}
  70. }
  71. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserAndPartnerIdentifyIdParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  72. out := new(CheckUserPartnerIsRelationshipReply)
  73. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  74. if err != nil {
  75. return nil, err
  76. }
  77. return out, nil
  78. }
  79. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  80. out := new(RoomReply)
  81. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  82. if err != nil {
  83. return nil, err
  84. }
  85. return out, nil
  86. }
  87. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  88. out := new(common.RecommendPersonListReply)
  89. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return out, nil
  94. }
  95. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  96. out := new(common.RecommendPersonListReply)
  97. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  98. if err != nil {
  99. return nil, err
  100. }
  101. return out, nil
  102. }
  103. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  104. out := new(PartnerFindRoomListReply)
  105. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  106. if err != nil {
  107. return nil, err
  108. }
  109. return out, nil
  110. }
  111. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  112. out := new(UserFindRoomListReply)
  113. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  114. if err != nil {
  115. return nil, err
  116. }
  117. return out, nil
  118. }
  119. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  120. out := new(ReceiveReply)
  121. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  122. if err != nil {
  123. return nil, err
  124. }
  125. return out, nil
  126. }
  127. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  128. out := new(common.ChatRecordListReply)
  129. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  130. if err != nil {
  131. return nil, err
  132. }
  133. return out, nil
  134. }
  135. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  136. out := new(common.ChatRoomMsg)
  137. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  138. if err != nil {
  139. return nil, err
  140. }
  141. return out, nil
  142. }
  143. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  144. out := new(emptypb.Empty)
  145. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  146. if err != nil {
  147. return nil, err
  148. }
  149. return out, nil
  150. }
  151. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  152. out := new(emptypb.Empty)
  153. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  154. if err != nil {
  155. return nil, err
  156. }
  157. return out, nil
  158. }
  159. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  160. out := new(emptypb.Empty)
  161. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  162. if err != nil {
  163. return nil, err
  164. }
  165. return out, nil
  166. }
  167. func (c *chatClient) PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error) {
  168. out := new(PartnerGetAwardReply)
  169. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerGetAward", in, out, opts...)
  170. if err != nil {
  171. return nil, err
  172. }
  173. return out, nil
  174. }
  175. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  176. out := new(common.RoomChatMsg)
  177. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  178. if err != nil {
  179. return nil, err
  180. }
  181. return out, nil
  182. }
  183. func (c *chatClient) FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error) {
  184. out := new(FindNotReplyNumReply)
  185. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindNotReplyNum", in, out, opts...)
  186. if err != nil {
  187. return nil, err
  188. }
  189. return out, nil
  190. }
  191. func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  192. out := new(common.ScripID)
  193. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
  194. if err != nil {
  195. return nil, err
  196. }
  197. return out, nil
  198. }
  199. func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  200. out := new(emptypb.Empty)
  201. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
  202. if err != nil {
  203. return nil, err
  204. }
  205. return out, nil
  206. }
  207. func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  208. out := new(common.ScripReply)
  209. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
  210. if err != nil {
  211. return nil, err
  212. }
  213. return out, nil
  214. }
  215. func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  216. out := new(common.ScripReply)
  217. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
  218. if err != nil {
  219. return nil, err
  220. }
  221. return out, nil
  222. }
  223. func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  224. out := new(emptypb.Empty)
  225. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
  226. if err != nil {
  227. return nil, err
  228. }
  229. return out, nil
  230. }
  231. func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  232. out := new(common.ScripInfo)
  233. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
  234. if err != nil {
  235. return nil, err
  236. }
  237. return out, nil
  238. }
  239. func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  240. out := new(common.ChatRecordInfo)
  241. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
  242. if err != nil {
  243. return nil, err
  244. }
  245. return out, nil
  246. }
  247. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*WindowInfo, error) {
  248. out := new(WindowInfo)
  249. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  250. if err != nil {
  251. return nil, err
  252. }
  253. return out, nil
  254. }
  255. // ChatServer is the server API for Chat service.
  256. // All implementations must embed UnimplementedChatServer
  257. // for forward compatibility
  258. type ChatServer interface {
  259. // 检查用户是否与接待员聊天
  260. CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error)
  261. // 创建聊天房间
  262. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  263. // 查询在线人的列表
  264. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  265. // 查询推荐人的列表
  266. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  267. // 接待员查询房间列表
  268. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  269. // 用户查询房间列表
  270. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  271. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  272. // 查询聊天记录
  273. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  274. // 房间信息
  275. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  276. // 拉黑
  277. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  278. // 删除房间
  279. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  280. // 拉黑
  281. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  282. // 接待员领取开通奖励
  283. PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error)
  284. // 房间信息
  285. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  286. // 查询未处理的数据
  287. FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error)
  288. // 创建纸条
  289. CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
  290. // 删除纸条
  291. DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
  292. // 查询自己的小纸条
  293. FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  294. // 查询随机纸条列表
  295. FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  296. // 用户查看纸条
  297. PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
  298. // 用户点击回看
  299. PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
  300. // 回复小纸条
  301. PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
  302. // 获取假弹窗
  303. GetWindowInfo(context.Context, *common.PersonParam) (*WindowInfo, error)
  304. mustEmbedUnimplementedChatServer()
  305. }
  306. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  307. type UnimplementedChatServer struct {
  308. }
  309. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error) {
  310. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  311. }
  312. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  313. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  314. }
  315. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  316. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  317. }
  318. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  319. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  320. }
  321. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  322. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  323. }
  324. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  325. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  326. }
  327. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  328. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  329. }
  330. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  331. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  332. }
  333. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  334. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  335. }
  336. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  337. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  338. }
  339. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  340. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  341. }
  342. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  343. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  344. }
  345. func (UnimplementedChatServer) PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error) {
  346. return nil, status.Errorf(codes.Unimplemented, "method PartnerGetAward not implemented")
  347. }
  348. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  349. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  350. }
  351. func (UnimplementedChatServer) FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error) {
  352. return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
  353. }
  354. func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
  355. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  356. }
  357. func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
  358. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  359. }
  360. func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  361. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  362. }
  363. func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  364. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  365. }
  366. func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
  367. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  368. }
  369. func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
  370. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  371. }
  372. func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
  373. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  374. }
  375. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.PersonParam) (*WindowInfo, error) {
  376. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  377. }
  378. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  379. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  380. // Use of this interface is not recommended, as added methods to ChatServer will
  381. // result in compilation errors.
  382. type UnsafeChatServer interface {
  383. mustEmbedUnimplementedChatServer()
  384. }
  385. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  386. s.RegisterService(&Chat_ServiceDesc, srv)
  387. }
  388. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  389. in := new(common.UserAndPartnerIdentifyIdParam)
  390. if err := dec(in); err != nil {
  391. return nil, err
  392. }
  393. if interceptor == nil {
  394. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  395. }
  396. info := &grpc.UnaryServerInfo{
  397. Server: srv,
  398. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  399. }
  400. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  401. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserAndPartnerIdentifyIdParam))
  402. }
  403. return interceptor(ctx, in, info, handler)
  404. }
  405. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  406. in := new(CreateChatRoomParam)
  407. if err := dec(in); err != nil {
  408. return nil, err
  409. }
  410. if interceptor == nil {
  411. return srv.(ChatServer).CreateChatRoom(ctx, in)
  412. }
  413. info := &grpc.UnaryServerInfo{
  414. Server: srv,
  415. FullMethod: "/api.chat.Chat/CreateChatRoom",
  416. }
  417. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  418. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  419. }
  420. return interceptor(ctx, in, info, handler)
  421. }
  422. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  423. in := new(common.ListPageAndPersonRequest)
  424. if err := dec(in); err != nil {
  425. return nil, err
  426. }
  427. if interceptor == nil {
  428. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  429. }
  430. info := &grpc.UnaryServerInfo{
  431. Server: srv,
  432. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  433. }
  434. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  435. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  436. }
  437. return interceptor(ctx, in, info, handler)
  438. }
  439. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  440. in := new(FindRecommendPersonListRequest)
  441. if err := dec(in); err != nil {
  442. return nil, err
  443. }
  444. if interceptor == nil {
  445. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  446. }
  447. info := &grpc.UnaryServerInfo{
  448. Server: srv,
  449. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  450. }
  451. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  452. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  453. }
  454. return interceptor(ctx, in, info, handler)
  455. }
  456. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  457. in := new(PartnerFindRoomListRequest)
  458. if err := dec(in); err != nil {
  459. return nil, err
  460. }
  461. if interceptor == nil {
  462. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  463. }
  464. info := &grpc.UnaryServerInfo{
  465. Server: srv,
  466. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  467. }
  468. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  469. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  470. }
  471. return interceptor(ctx, in, info, handler)
  472. }
  473. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  474. in := new(UserFindRoomListRequest)
  475. if err := dec(in); err != nil {
  476. return nil, err
  477. }
  478. if interceptor == nil {
  479. return srv.(ChatServer).UserFindRoomList(ctx, in)
  480. }
  481. info := &grpc.UnaryServerInfo{
  482. Server: srv,
  483. FullMethod: "/api.chat.Chat/UserFindRoomList",
  484. }
  485. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  486. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  487. }
  488. return interceptor(ctx, in, info, handler)
  489. }
  490. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  491. in := new(ReceiveRequest)
  492. if err := dec(in); err != nil {
  493. return nil, err
  494. }
  495. if interceptor == nil {
  496. return srv.(ChatServer).Receive(ctx, in)
  497. }
  498. info := &grpc.UnaryServerInfo{
  499. Server: srv,
  500. FullMethod: "/api.chat.Chat/Receive",
  501. }
  502. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  503. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  504. }
  505. return interceptor(ctx, in, info, handler)
  506. }
  507. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  508. in := new(FindChatRecordListRequest)
  509. if err := dec(in); err != nil {
  510. return nil, err
  511. }
  512. if interceptor == nil {
  513. return srv.(ChatServer).FindChatRecordList(ctx, in)
  514. }
  515. info := &grpc.UnaryServerInfo{
  516. Server: srv,
  517. FullMethod: "/api.chat.Chat/FindChatRecordList",
  518. }
  519. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  520. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  521. }
  522. return interceptor(ctx, in, info, handler)
  523. }
  524. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  525. in := new(FindChatRoomMsgRequest)
  526. if err := dec(in); err != nil {
  527. return nil, err
  528. }
  529. if interceptor == nil {
  530. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  531. }
  532. info := &grpc.UnaryServerInfo{
  533. Server: srv,
  534. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  535. }
  536. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  537. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  538. }
  539. return interceptor(ctx, in, info, handler)
  540. }
  541. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  542. in := new(SetBlackChatParam)
  543. if err := dec(in); err != nil {
  544. return nil, err
  545. }
  546. if interceptor == nil {
  547. return srv.(ChatServer).SetBlackChat(ctx, in)
  548. }
  549. info := &grpc.UnaryServerInfo{
  550. Server: srv,
  551. FullMethod: "/api.chat.Chat/SetBlackChat",
  552. }
  553. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  554. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  555. }
  556. return interceptor(ctx, in, info, handler)
  557. }
  558. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  559. in := new(SetBlackChatParam)
  560. if err := dec(in); err != nil {
  561. return nil, err
  562. }
  563. if interceptor == nil {
  564. return srv.(ChatServer).DeleteChat(ctx, in)
  565. }
  566. info := &grpc.UnaryServerInfo{
  567. Server: srv,
  568. FullMethod: "/api.chat.Chat/DeleteChat",
  569. }
  570. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  571. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  572. }
  573. return interceptor(ctx, in, info, handler)
  574. }
  575. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  576. in := new(common.ReportRequest)
  577. if err := dec(in); err != nil {
  578. return nil, err
  579. }
  580. if interceptor == nil {
  581. return srv.(ChatServer).Report(ctx, in)
  582. }
  583. info := &grpc.UnaryServerInfo{
  584. Server: srv,
  585. FullMethod: "/api.chat.Chat/Report",
  586. }
  587. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  588. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  589. }
  590. return interceptor(ctx, in, info, handler)
  591. }
  592. func _Chat_PartnerGetAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  593. in := new(PartnerGetAwardRequest)
  594. if err := dec(in); err != nil {
  595. return nil, err
  596. }
  597. if interceptor == nil {
  598. return srv.(ChatServer).PartnerGetAward(ctx, in)
  599. }
  600. info := &grpc.UnaryServerInfo{
  601. Server: srv,
  602. FullMethod: "/api.chat.Chat/PartnerGetAward",
  603. }
  604. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  605. return srv.(ChatServer).PartnerGetAward(ctx, req.(*PartnerGetAwardRequest))
  606. }
  607. return interceptor(ctx, in, info, handler)
  608. }
  609. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  610. in := new(FindRoomCardMsgRequest)
  611. if err := dec(in); err != nil {
  612. return nil, err
  613. }
  614. if interceptor == nil {
  615. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  616. }
  617. info := &grpc.UnaryServerInfo{
  618. Server: srv,
  619. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  620. }
  621. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  622. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  623. }
  624. return interceptor(ctx, in, info, handler)
  625. }
  626. func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  627. in := new(common.IdentifyIdRequest)
  628. if err := dec(in); err != nil {
  629. return nil, err
  630. }
  631. if interceptor == nil {
  632. return srv.(ChatServer).FindNotReplyNum(ctx, in)
  633. }
  634. info := &grpc.UnaryServerInfo{
  635. Server: srv,
  636. FullMethod: "/api.chat.Chat/FindNotReplyNum",
  637. }
  638. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  639. return srv.(ChatServer).FindNotReplyNum(ctx, req.(*common.IdentifyIdRequest))
  640. }
  641. return interceptor(ctx, in, info, handler)
  642. }
  643. func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  644. in := new(common.CreateScripRequest)
  645. if err := dec(in); err != nil {
  646. return nil, err
  647. }
  648. if interceptor == nil {
  649. return srv.(ChatServer).CreateScrip(ctx, in)
  650. }
  651. info := &grpc.UnaryServerInfo{
  652. Server: srv,
  653. FullMethod: "/api.chat.Chat/CreateScrip",
  654. }
  655. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  656. return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
  657. }
  658. return interceptor(ctx, in, info, handler)
  659. }
  660. func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  661. in := new(common.DeleteScripRequest)
  662. if err := dec(in); err != nil {
  663. return nil, err
  664. }
  665. if interceptor == nil {
  666. return srv.(ChatServer).DeleteScrip(ctx, in)
  667. }
  668. info := &grpc.UnaryServerInfo{
  669. Server: srv,
  670. FullMethod: "/api.chat.Chat/DeleteScrip",
  671. }
  672. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  673. return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
  674. }
  675. return interceptor(ctx, in, info, handler)
  676. }
  677. func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  678. in := new(common.FindScripRequest)
  679. if err := dec(in); err != nil {
  680. return nil, err
  681. }
  682. if interceptor == nil {
  683. return srv.(ChatServer).FindMyScrip(ctx, in)
  684. }
  685. info := &grpc.UnaryServerInfo{
  686. Server: srv,
  687. FullMethod: "/api.chat.Chat/FindMyScrip",
  688. }
  689. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  690. return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
  691. }
  692. return interceptor(ctx, in, info, handler)
  693. }
  694. func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  695. in := new(common.FindScripRequest)
  696. if err := dec(in); err != nil {
  697. return nil, err
  698. }
  699. if interceptor == nil {
  700. return srv.(ChatServer).FindRecommendScrip(ctx, in)
  701. }
  702. info := &grpc.UnaryServerInfo{
  703. Server: srv,
  704. FullMethod: "/api.chat.Chat/FindRecommendScrip",
  705. }
  706. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  707. return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
  708. }
  709. return interceptor(ctx, in, info, handler)
  710. }
  711. func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  712. in := new(common.PersonLookScripRequest)
  713. if err := dec(in); err != nil {
  714. return nil, err
  715. }
  716. if interceptor == nil {
  717. return srv.(ChatServer).PersonLookScrip(ctx, in)
  718. }
  719. info := &grpc.UnaryServerInfo{
  720. Server: srv,
  721. FullMethod: "/api.chat.Chat/PersonLookScrip",
  722. }
  723. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  724. return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
  725. }
  726. return interceptor(ctx, in, info, handler)
  727. }
  728. func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  729. in := new(common.PersonParam)
  730. if err := dec(in); err != nil {
  731. return nil, err
  732. }
  733. if interceptor == nil {
  734. return srv.(ChatServer).PersonClickLookBack(ctx, in)
  735. }
  736. info := &grpc.UnaryServerInfo{
  737. Server: srv,
  738. FullMethod: "/api.chat.Chat/PersonClickLookBack",
  739. }
  740. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  741. return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
  742. }
  743. return interceptor(ctx, in, info, handler)
  744. }
  745. func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  746. in := new(common.ReplyScripRequest)
  747. if err := dec(in); err != nil {
  748. return nil, err
  749. }
  750. if interceptor == nil {
  751. return srv.(ChatServer).PersonReplyScrip(ctx, in)
  752. }
  753. info := &grpc.UnaryServerInfo{
  754. Server: srv,
  755. FullMethod: "/api.chat.Chat/PersonReplyScrip",
  756. }
  757. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  758. return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
  759. }
  760. return interceptor(ctx, in, info, handler)
  761. }
  762. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  763. in := new(common.PersonParam)
  764. if err := dec(in); err != nil {
  765. return nil, err
  766. }
  767. if interceptor == nil {
  768. return srv.(ChatServer).GetWindowInfo(ctx, in)
  769. }
  770. info := &grpc.UnaryServerInfo{
  771. Server: srv,
  772. FullMethod: "/api.chat.Chat/GetWindowInfo",
  773. }
  774. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  775. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.PersonParam))
  776. }
  777. return interceptor(ctx, in, info, handler)
  778. }
  779. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  780. // It's only intended for direct use with grpc.RegisterService,
  781. // and not to be introspected or modified (even as a copy)
  782. var Chat_ServiceDesc = grpc.ServiceDesc{
  783. ServiceName: "api.chat.Chat",
  784. HandlerType: (*ChatServer)(nil),
  785. Methods: []grpc.MethodDesc{
  786. {
  787. MethodName: "CheckUserPartnerIsRelationship",
  788. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  789. },
  790. {
  791. MethodName: "CreateChatRoom",
  792. Handler: _Chat_CreateChatRoom_Handler,
  793. },
  794. {
  795. MethodName: "FindOnlinePersonList",
  796. Handler: _Chat_FindOnlinePersonList_Handler,
  797. },
  798. {
  799. MethodName: "FindRecommendPersonList",
  800. Handler: _Chat_FindRecommendPersonList_Handler,
  801. },
  802. {
  803. MethodName: "PartnerFindRoomList",
  804. Handler: _Chat_PartnerFindRoomList_Handler,
  805. },
  806. {
  807. MethodName: "UserFindRoomList",
  808. Handler: _Chat_UserFindRoomList_Handler,
  809. },
  810. {
  811. MethodName: "Receive",
  812. Handler: _Chat_Receive_Handler,
  813. },
  814. {
  815. MethodName: "FindChatRecordList",
  816. Handler: _Chat_FindChatRecordList_Handler,
  817. },
  818. {
  819. MethodName: "FindChatRoomMsg",
  820. Handler: _Chat_FindChatRoomMsg_Handler,
  821. },
  822. {
  823. MethodName: "SetBlackChat",
  824. Handler: _Chat_SetBlackChat_Handler,
  825. },
  826. {
  827. MethodName: "DeleteChat",
  828. Handler: _Chat_DeleteChat_Handler,
  829. },
  830. {
  831. MethodName: "Report",
  832. Handler: _Chat_Report_Handler,
  833. },
  834. {
  835. MethodName: "PartnerGetAward",
  836. Handler: _Chat_PartnerGetAward_Handler,
  837. },
  838. {
  839. MethodName: "FindRoomCardMsg",
  840. Handler: _Chat_FindRoomCardMsg_Handler,
  841. },
  842. {
  843. MethodName: "FindNotReplyNum",
  844. Handler: _Chat_FindNotReplyNum_Handler,
  845. },
  846. {
  847. MethodName: "CreateScrip",
  848. Handler: _Chat_CreateScrip_Handler,
  849. },
  850. {
  851. MethodName: "DeleteScrip",
  852. Handler: _Chat_DeleteScrip_Handler,
  853. },
  854. {
  855. MethodName: "FindMyScrip",
  856. Handler: _Chat_FindMyScrip_Handler,
  857. },
  858. {
  859. MethodName: "FindRecommendScrip",
  860. Handler: _Chat_FindRecommendScrip_Handler,
  861. },
  862. {
  863. MethodName: "PersonLookScrip",
  864. Handler: _Chat_PersonLookScrip_Handler,
  865. },
  866. {
  867. MethodName: "PersonClickLookBack",
  868. Handler: _Chat_PersonClickLookBack_Handler,
  869. },
  870. {
  871. MethodName: "PersonReplyScrip",
  872. Handler: _Chat_PersonReplyScrip_Handler,
  873. },
  874. {
  875. MethodName: "GetWindowInfo",
  876. Handler: _Chat_GetWindowInfo_Handler,
  877. },
  878. },
  879. Streams: []grpc.StreamDesc{},
  880. Metadata: "chat.proto",
  881. }