user_grpc.pb.go 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package user
  3. import (
  4. context "context"
  5. chat "git.ikuban.com/server/pw-protobuf/api/chat"
  6. common "git.ikuban.com/server/pw-protobuf/api/common"
  7. statistics "git.ikuban.com/server/pw-protobuf/api/statistics"
  8. grpc "google.golang.org/grpc"
  9. codes "google.golang.org/grpc/codes"
  10. status "google.golang.org/grpc/status"
  11. emptypb "google.golang.org/protobuf/types/known/emptypb"
  12. )
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the grpc package it is being compiled against.
  15. // Requires gRPC-Go v1.32.0 or later.
  16. const _ = grpc.SupportPackageIsVersion7
  17. // UserClient is the client API for User service.
  18. //
  19. // 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.
  20. type UserClient interface {
  21. // 更新用户信息
  22. UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  23. // 获取用户详情
  24. GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error)
  25. // 获取用户详情
  26. GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error)
  27. // 用户发送验证码
  28. SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  29. // 用户验证验证码
  30. CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  31. // 检查用户是否与接待员关联
  32. CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error)
  33. // 创建用户与接待员的关联
  34. CreateUserPartnerRoom(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.RoomReply, error)
  35. // 获取接待员的确认通过页面信息
  36. GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error)
  37. // 用户获取主页信息
  38. UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error)
  39. // 通过用户IDs查看用户信息列表
  40. FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error)
  41. // 查看看过我的列表
  42. FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  43. // 查看我喜欢的列表
  44. FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  45. // 查看喜欢我的列表
  46. FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error)
  47. // 获取用户的访客数以及关注数
  48. GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error)
  49. // 微信SDK初始化
  50. WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error)
  51. // 获取标签列表
  52. FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
  53. // 获取在线列表
  54. FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.OnlinePersonListReply, error)
  55. // 七天内列表(当前会话)
  56. FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
  57. // 七天外列表(更早的聊天记录)
  58. FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error)
  59. // 用户获取ta的主页访客、关注数
  60. UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error)
  61. // 获取用户的金额信息
  62. GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error)
  63. // 获取用户访问数详情
  64. GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error)
  65. // 用户查询聊天记录
  66. FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  67. // 用户查询房间信息
  68. FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  69. }
  70. type userClient struct {
  71. cc grpc.ClientConnInterface
  72. }
  73. func NewUserClient(cc grpc.ClientConnInterface) UserClient {
  74. return &userClient{cc}
  75. }
  76. func (c *userClient) UpdateUserInformation(ctx context.Context, in *common.UpdateInformationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  77. out := new(emptypb.Empty)
  78. err := c.cc.Invoke(ctx, "/api.user.User/UpdateUserInformation", in, out, opts...)
  79. if err != nil {
  80. return nil, err
  81. }
  82. return out, nil
  83. }
  84. func (c *userClient) GetUserInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserInfo, error) {
  85. out := new(UserInfo)
  86. err := c.cc.Invoke(ctx, "/api.user.User/GetUserInfo", in, out, opts...)
  87. if err != nil {
  88. return nil, err
  89. }
  90. return out, nil
  91. }
  92. func (c *userClient) GetUserDBMsg(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*common.PersonMsg, error) {
  93. out := new(common.PersonMsg)
  94. err := c.cc.Invoke(ctx, "/api.user.User/GetUserDBMsg", in, out, opts...)
  95. if err != nil {
  96. return nil, err
  97. }
  98. return out, nil
  99. }
  100. func (c *userClient) SendPhoneCode(ctx context.Context, in *common.SendPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  101. out := new(emptypb.Empty)
  102. err := c.cc.Invoke(ctx, "/api.user.User/SendPhoneCode", in, out, opts...)
  103. if err != nil {
  104. return nil, err
  105. }
  106. return out, nil
  107. }
  108. func (c *userClient) CheckPhoneCode(ctx context.Context, in *common.CheckPhoneCodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  109. out := new(emptypb.Empty)
  110. err := c.cc.Invoke(ctx, "/api.user.User/CheckPhoneCode", in, out, opts...)
  111. if err != nil {
  112. return nil, err
  113. }
  114. return out, nil
  115. }
  116. func (c *userClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  117. out := new(chat.CheckUserPartnerIsRelationshipReply)
  118. err := c.cc.Invoke(ctx, "/api.user.User/CheckUserPartnerIsRelationship", in, out, opts...)
  119. if err != nil {
  120. return nil, err
  121. }
  122. return out, nil
  123. }
  124. func (c *userClient) CreateUserPartnerRoom(ctx context.Context, in *common.PartnerIDParam, opts ...grpc.CallOption) (*chat.RoomReply, error) {
  125. out := new(chat.RoomReply)
  126. err := c.cc.Invoke(ctx, "/api.user.User/CreateUserPartnerRoom", in, out, opts...)
  127. if err != nil {
  128. return nil, err
  129. }
  130. return out, nil
  131. }
  132. func (c *userClient) GetPartnerCircleInfo(ctx context.Context, in *KeyRequest, opts ...grpc.CallOption) (*common.AddFriendMessageInfo, error) {
  133. out := new(common.AddFriendMessageInfo)
  134. err := c.cc.Invoke(ctx, "/api.user.User/GetPartnerCircleInfo", in, out, opts...)
  135. if err != nil {
  136. return nil, err
  137. }
  138. return out, nil
  139. }
  140. func (c *userClient) UserGetHomeInfo(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.HomeInfo, error) {
  141. out := new(common.HomeInfo)
  142. err := c.cc.Invoke(ctx, "/api.user.User/UserGetHomeInfo", in, out, opts...)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return out, nil
  147. }
  148. func (c *userClient) FindUserDBList(ctx context.Context, in *common.PersonIDList, opts ...grpc.CallOption) (*common.PersonDBReply, error) {
  149. out := new(common.PersonDBReply)
  150. err := c.cc.Invoke(ctx, "/api.user.User/FindUserDBList", in, out, opts...)
  151. if err != nil {
  152. return nil, err
  153. }
  154. return out, nil
  155. }
  156. func (c *userClient) FindLookList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  157. out := new(statistics.LookAndLikeListReply)
  158. err := c.cc.Invoke(ctx, "/api.user.User/FindLookList", in, out, opts...)
  159. if err != nil {
  160. return nil, err
  161. }
  162. return out, nil
  163. }
  164. func (c *userClient) FindLikeList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  165. out := new(statistics.LookAndLikeListReply)
  166. err := c.cc.Invoke(ctx, "/api.user.User/FindLikeList", in, out, opts...)
  167. if err != nil {
  168. return nil, err
  169. }
  170. return out, nil
  171. }
  172. func (c *userClient) FindLikedList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*statistics.LookAndLikeListReply, error) {
  173. out := new(statistics.LookAndLikeListReply)
  174. err := c.cc.Invoke(ctx, "/api.user.User/FindLikedList", in, out, opts...)
  175. if err != nil {
  176. return nil, err
  177. }
  178. return out, nil
  179. }
  180. func (c *userClient) GetLookAndLikeStatisticsMessage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookAndLikeMessageReply, error) {
  181. out := new(statistics.LookAndLikeMessageReply)
  182. err := c.cc.Invoke(ctx, "/api.user.User/GetLookAndLikeStatisticsMessage", in, out, opts...)
  183. if err != nil {
  184. return nil, err
  185. }
  186. return out, nil
  187. }
  188. func (c *userClient) WxConf(ctx context.Context, in *common.WxConfReq, opts ...grpc.CallOption) (*common.WxConfResponse, error) {
  189. out := new(common.WxConfResponse)
  190. err := c.cc.Invoke(ctx, "/api.user.User/WxConf", in, out, opts...)
  191. if err != nil {
  192. return nil, err
  193. }
  194. return out, nil
  195. }
  196. func (c *userClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  197. out := new(common.TagListReply)
  198. err := c.cc.Invoke(ctx, "/api.user.User/FindTagListBySex", in, out, opts...)
  199. if err != nil {
  200. return nil, err
  201. }
  202. return out, nil
  203. }
  204. func (c *userClient) FindOnlineList(ctx context.Context, in *common.ListPage2Request, opts ...grpc.CallOption) (*common.OnlinePersonListReply, error) {
  205. out := new(common.OnlinePersonListReply)
  206. err := c.cc.Invoke(ctx, "/api.user.User/FindOnlineList", in, out, opts...)
  207. if err != nil {
  208. return nil, err
  209. }
  210. return out, nil
  211. }
  212. func (c *userClient) FindWithinSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  213. out := new(UserFindChatListReply)
  214. err := c.cc.Invoke(ctx, "/api.user.User/FindWithinSevenDayRoomList", in, out, opts...)
  215. if err != nil {
  216. return nil, err
  217. }
  218. return out, nil
  219. }
  220. func (c *userClient) FindOverSevenDayRoomList(ctx context.Context, in *common.ListPageRequest, opts ...grpc.CallOption) (*UserFindChatListReply, error) {
  221. out := new(UserFindChatListReply)
  222. err := c.cc.Invoke(ctx, "/api.user.User/FindOverSevenDayRoomList", in, out, opts...)
  223. if err != nil {
  224. return nil, err
  225. }
  226. return out, nil
  227. }
  228. func (c *userClient) UserGetPersonLikedAndLooked(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.LookedAndLikedNum, error) {
  229. out := new(common.LookedAndLikedNum)
  230. err := c.cc.Invoke(ctx, "/api.user.User/UserGetPersonLikedAndLooked", in, out, opts...)
  231. if err != nil {
  232. return nil, err
  233. }
  234. return out, nil
  235. }
  236. func (c *userClient) GetUserBalance(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserBalance, error) {
  237. out := new(UserBalance)
  238. err := c.cc.Invoke(ctx, "/api.user.User/GetUserBalance", in, out, opts...)
  239. if err != nil {
  240. return nil, err
  241. }
  242. return out, nil
  243. }
  244. func (c *userClient) GetUserLookNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*statistics.LookMessageReply, error) {
  245. out := new(statistics.LookMessageReply)
  246. err := c.cc.Invoke(ctx, "/api.user.User/GetUserLookNum", in, out, opts...)
  247. if err != nil {
  248. return nil, err
  249. }
  250. return out, nil
  251. }
  252. func (c *userClient) FindChatRecordList(ctx context.Context, in *common.FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  253. out := new(common.ChatRecordListReply)
  254. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRecordList", in, out, opts...)
  255. if err != nil {
  256. return nil, err
  257. }
  258. return out, nil
  259. }
  260. func (c *userClient) FindChatRoomMsg(ctx context.Context, in *common.FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  261. out := new(common.ChatRoomMsg)
  262. err := c.cc.Invoke(ctx, "/api.user.User/FindChatRoomMsg", in, out, opts...)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return out, nil
  267. }
  268. // UserServer is the server API for User service.
  269. // All implementations must embed UnimplementedUserServer
  270. // for forward compatibility
  271. type UserServer interface {
  272. // 更新用户信息
  273. UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error)
  274. // 获取用户详情
  275. GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error)
  276. // 获取用户详情
  277. GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error)
  278. // 用户发送验证码
  279. SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error)
  280. // 用户验证验证码
  281. CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error)
  282. // 检查用户是否与接待员关联
  283. CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error)
  284. // 创建用户与接待员的关联
  285. CreateUserPartnerRoom(context.Context, *common.PartnerIDParam) (*chat.RoomReply, error)
  286. // 获取接待员的确认通过页面信息
  287. GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error)
  288. // 用户获取主页信息
  289. UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error)
  290. // 通过用户IDs查看用户信息列表
  291. FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error)
  292. // 查看看过我的列表
  293. FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  294. // 查看我喜欢的列表
  295. FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  296. // 查看喜欢我的列表
  297. FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error)
  298. // 获取用户的访客数以及关注数
  299. GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error)
  300. // 微信SDK初始化
  301. WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error)
  302. // 获取标签列表
  303. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  304. // 获取在线列表
  305. FindOnlineList(context.Context, *common.ListPage2Request) (*common.OnlinePersonListReply, error)
  306. // 七天内列表(当前会话)
  307. FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  308. // 七天外列表(更早的聊天记录)
  309. FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error)
  310. // 用户获取ta的主页访客、关注数
  311. UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error)
  312. // 获取用户的金额信息
  313. GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error)
  314. // 获取用户访问数详情
  315. GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error)
  316. // 用户查询聊天记录
  317. FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  318. // 用户查询房间信息
  319. FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  320. mustEmbedUnimplementedUserServer()
  321. }
  322. // UnimplementedUserServer must be embedded to have forward compatible implementations.
  323. type UnimplementedUserServer struct {
  324. }
  325. func (UnimplementedUserServer) UpdateUserInformation(context.Context, *common.UpdateInformationRequest) (*emptypb.Empty, error) {
  326. return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInformation not implemented")
  327. }
  328. func (UnimplementedUserServer) GetUserInfo(context.Context, *emptypb.Empty) (*UserInfo, error) {
  329. return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented")
  330. }
  331. func (UnimplementedUserServer) GetUserDBMsg(context.Context, *common.PersonIDParam) (*common.PersonMsg, error) {
  332. return nil, status.Errorf(codes.Unimplemented, "method GetUserDBMsg not implemented")
  333. }
  334. func (UnimplementedUserServer) SendPhoneCode(context.Context, *common.SendPhoneCodeRequest) (*emptypb.Empty, error) {
  335. return nil, status.Errorf(codes.Unimplemented, "method SendPhoneCode not implemented")
  336. }
  337. func (UnimplementedUserServer) CheckPhoneCode(context.Context, *common.CheckPhoneCodeRequest) (*emptypb.Empty, error) {
  338. return nil, status.Errorf(codes.Unimplemented, "method CheckPhoneCode not implemented")
  339. }
  340. func (UnimplementedUserServer) CheckUserPartnerIsRelationship(context.Context, *common.PartnerIDParam) (*chat.CheckUserPartnerIsRelationshipReply, error) {
  341. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  342. }
  343. func (UnimplementedUserServer) CreateUserPartnerRoom(context.Context, *common.PartnerIDParam) (*chat.RoomReply, error) {
  344. return nil, status.Errorf(codes.Unimplemented, "method CreateUserPartnerRoom not implemented")
  345. }
  346. func (UnimplementedUserServer) GetPartnerCircleInfo(context.Context, *KeyRequest) (*common.AddFriendMessageInfo, error) {
  347. return nil, status.Errorf(codes.Unimplemented, "method GetPartnerCircleInfo not implemented")
  348. }
  349. func (UnimplementedUserServer) UserGetHomeInfo(context.Context, *common.PersonParam) (*common.HomeInfo, error) {
  350. return nil, status.Errorf(codes.Unimplemented, "method UserGetHomeInfo not implemented")
  351. }
  352. func (UnimplementedUserServer) FindUserDBList(context.Context, *common.PersonIDList) (*common.PersonDBReply, error) {
  353. return nil, status.Errorf(codes.Unimplemented, "method FindUserDBList not implemented")
  354. }
  355. func (UnimplementedUserServer) FindLookList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  356. return nil, status.Errorf(codes.Unimplemented, "method FindLookList not implemented")
  357. }
  358. func (UnimplementedUserServer) FindLikeList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  359. return nil, status.Errorf(codes.Unimplemented, "method FindLikeList not implemented")
  360. }
  361. func (UnimplementedUserServer) FindLikedList(context.Context, *common.ListPageRequest) (*statistics.LookAndLikeListReply, error) {
  362. return nil, status.Errorf(codes.Unimplemented, "method FindLikedList not implemented")
  363. }
  364. func (UnimplementedUserServer) GetLookAndLikeStatisticsMessage(context.Context, *emptypb.Empty) (*statistics.LookAndLikeMessageReply, error) {
  365. return nil, status.Errorf(codes.Unimplemented, "method GetLookAndLikeStatisticsMessage not implemented")
  366. }
  367. func (UnimplementedUserServer) WxConf(context.Context, *common.WxConfReq) (*common.WxConfResponse, error) {
  368. return nil, status.Errorf(codes.Unimplemented, "method WxConf not implemented")
  369. }
  370. func (UnimplementedUserServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  371. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  372. }
  373. func (UnimplementedUserServer) FindOnlineList(context.Context, *common.ListPage2Request) (*common.OnlinePersonListReply, error) {
  374. return nil, status.Errorf(codes.Unimplemented, "method FindOnlineList not implemented")
  375. }
  376. func (UnimplementedUserServer) FindWithinSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  377. return nil, status.Errorf(codes.Unimplemented, "method FindWithinSevenDayRoomList not implemented")
  378. }
  379. func (UnimplementedUserServer) FindOverSevenDayRoomList(context.Context, *common.ListPageRequest) (*UserFindChatListReply, error) {
  380. return nil, status.Errorf(codes.Unimplemented, "method FindOverSevenDayRoomList not implemented")
  381. }
  382. func (UnimplementedUserServer) UserGetPersonLikedAndLooked(context.Context, *common.PersonParam) (*common.LookedAndLikedNum, error) {
  383. return nil, status.Errorf(codes.Unimplemented, "method UserGetPersonLikedAndLooked not implemented")
  384. }
  385. func (UnimplementedUserServer) GetUserBalance(context.Context, *emptypb.Empty) (*UserBalance, error) {
  386. return nil, status.Errorf(codes.Unimplemented, "method GetUserBalance not implemented")
  387. }
  388. func (UnimplementedUserServer) GetUserLookNum(context.Context, *emptypb.Empty) (*statistics.LookMessageReply, error) {
  389. return nil, status.Errorf(codes.Unimplemented, "method GetUserLookNum not implemented")
  390. }
  391. func (UnimplementedUserServer) FindChatRecordList(context.Context, *common.FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  392. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  393. }
  394. func (UnimplementedUserServer) FindChatRoomMsg(context.Context, *common.FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  395. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  396. }
  397. func (UnimplementedUserServer) mustEmbedUnimplementedUserServer() {}
  398. // UnsafeUserServer may be embedded to opt out of forward compatibility for this service.
  399. // Use of this interface is not recommended, as added methods to UserServer will
  400. // result in compilation errors.
  401. type UnsafeUserServer interface {
  402. mustEmbedUnimplementedUserServer()
  403. }
  404. func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) {
  405. s.RegisterService(&User_ServiceDesc, srv)
  406. }
  407. func _User_UpdateUserInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  408. in := new(common.UpdateInformationRequest)
  409. if err := dec(in); err != nil {
  410. return nil, err
  411. }
  412. if interceptor == nil {
  413. return srv.(UserServer).UpdateUserInformation(ctx, in)
  414. }
  415. info := &grpc.UnaryServerInfo{
  416. Server: srv,
  417. FullMethod: "/api.user.User/UpdateUserInformation",
  418. }
  419. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  420. return srv.(UserServer).UpdateUserInformation(ctx, req.(*common.UpdateInformationRequest))
  421. }
  422. return interceptor(ctx, in, info, handler)
  423. }
  424. func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  425. in := new(emptypb.Empty)
  426. if err := dec(in); err != nil {
  427. return nil, err
  428. }
  429. if interceptor == nil {
  430. return srv.(UserServer).GetUserInfo(ctx, in)
  431. }
  432. info := &grpc.UnaryServerInfo{
  433. Server: srv,
  434. FullMethod: "/api.user.User/GetUserInfo",
  435. }
  436. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  437. return srv.(UserServer).GetUserInfo(ctx, req.(*emptypb.Empty))
  438. }
  439. return interceptor(ctx, in, info, handler)
  440. }
  441. func _User_GetUserDBMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  442. in := new(common.PersonIDParam)
  443. if err := dec(in); err != nil {
  444. return nil, err
  445. }
  446. if interceptor == nil {
  447. return srv.(UserServer).GetUserDBMsg(ctx, in)
  448. }
  449. info := &grpc.UnaryServerInfo{
  450. Server: srv,
  451. FullMethod: "/api.user.User/GetUserDBMsg",
  452. }
  453. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  454. return srv.(UserServer).GetUserDBMsg(ctx, req.(*common.PersonIDParam))
  455. }
  456. return interceptor(ctx, in, info, handler)
  457. }
  458. func _User_SendPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  459. in := new(common.SendPhoneCodeRequest)
  460. if err := dec(in); err != nil {
  461. return nil, err
  462. }
  463. if interceptor == nil {
  464. return srv.(UserServer).SendPhoneCode(ctx, in)
  465. }
  466. info := &grpc.UnaryServerInfo{
  467. Server: srv,
  468. FullMethod: "/api.user.User/SendPhoneCode",
  469. }
  470. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  471. return srv.(UserServer).SendPhoneCode(ctx, req.(*common.SendPhoneCodeRequest))
  472. }
  473. return interceptor(ctx, in, info, handler)
  474. }
  475. func _User_CheckPhoneCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  476. in := new(common.CheckPhoneCodeRequest)
  477. if err := dec(in); err != nil {
  478. return nil, err
  479. }
  480. if interceptor == nil {
  481. return srv.(UserServer).CheckPhoneCode(ctx, in)
  482. }
  483. info := &grpc.UnaryServerInfo{
  484. Server: srv,
  485. FullMethod: "/api.user.User/CheckPhoneCode",
  486. }
  487. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  488. return srv.(UserServer).CheckPhoneCode(ctx, req.(*common.CheckPhoneCodeRequest))
  489. }
  490. return interceptor(ctx, in, info, handler)
  491. }
  492. func _User_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  493. in := new(common.PartnerIDParam)
  494. if err := dec(in); err != nil {
  495. return nil, err
  496. }
  497. if interceptor == nil {
  498. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, in)
  499. }
  500. info := &grpc.UnaryServerInfo{
  501. Server: srv,
  502. FullMethod: "/api.user.User/CheckUserPartnerIsRelationship",
  503. }
  504. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  505. return srv.(UserServer).CheckUserPartnerIsRelationship(ctx, req.(*common.PartnerIDParam))
  506. }
  507. return interceptor(ctx, in, info, handler)
  508. }
  509. func _User_CreateUserPartnerRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  510. in := new(common.PartnerIDParam)
  511. if err := dec(in); err != nil {
  512. return nil, err
  513. }
  514. if interceptor == nil {
  515. return srv.(UserServer).CreateUserPartnerRoom(ctx, in)
  516. }
  517. info := &grpc.UnaryServerInfo{
  518. Server: srv,
  519. FullMethod: "/api.user.User/CreateUserPartnerRoom",
  520. }
  521. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  522. return srv.(UserServer).CreateUserPartnerRoom(ctx, req.(*common.PartnerIDParam))
  523. }
  524. return interceptor(ctx, in, info, handler)
  525. }
  526. func _User_GetPartnerCircleInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  527. in := new(KeyRequest)
  528. if err := dec(in); err != nil {
  529. return nil, err
  530. }
  531. if interceptor == nil {
  532. return srv.(UserServer).GetPartnerCircleInfo(ctx, in)
  533. }
  534. info := &grpc.UnaryServerInfo{
  535. Server: srv,
  536. FullMethod: "/api.user.User/GetPartnerCircleInfo",
  537. }
  538. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  539. return srv.(UserServer).GetPartnerCircleInfo(ctx, req.(*KeyRequest))
  540. }
  541. return interceptor(ctx, in, info, handler)
  542. }
  543. func _User_UserGetHomeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  544. in := new(common.PersonParam)
  545. if err := dec(in); err != nil {
  546. return nil, err
  547. }
  548. if interceptor == nil {
  549. return srv.(UserServer).UserGetHomeInfo(ctx, in)
  550. }
  551. info := &grpc.UnaryServerInfo{
  552. Server: srv,
  553. FullMethod: "/api.user.User/UserGetHomeInfo",
  554. }
  555. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  556. return srv.(UserServer).UserGetHomeInfo(ctx, req.(*common.PersonParam))
  557. }
  558. return interceptor(ctx, in, info, handler)
  559. }
  560. func _User_FindUserDBList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  561. in := new(common.PersonIDList)
  562. if err := dec(in); err != nil {
  563. return nil, err
  564. }
  565. if interceptor == nil {
  566. return srv.(UserServer).FindUserDBList(ctx, in)
  567. }
  568. info := &grpc.UnaryServerInfo{
  569. Server: srv,
  570. FullMethod: "/api.user.User/FindUserDBList",
  571. }
  572. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  573. return srv.(UserServer).FindUserDBList(ctx, req.(*common.PersonIDList))
  574. }
  575. return interceptor(ctx, in, info, handler)
  576. }
  577. func _User_FindLookList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  578. in := new(common.ListPageRequest)
  579. if err := dec(in); err != nil {
  580. return nil, err
  581. }
  582. if interceptor == nil {
  583. return srv.(UserServer).FindLookList(ctx, in)
  584. }
  585. info := &grpc.UnaryServerInfo{
  586. Server: srv,
  587. FullMethod: "/api.user.User/FindLookList",
  588. }
  589. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  590. return srv.(UserServer).FindLookList(ctx, req.(*common.ListPageRequest))
  591. }
  592. return interceptor(ctx, in, info, handler)
  593. }
  594. func _User_FindLikeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  595. in := new(common.ListPageRequest)
  596. if err := dec(in); err != nil {
  597. return nil, err
  598. }
  599. if interceptor == nil {
  600. return srv.(UserServer).FindLikeList(ctx, in)
  601. }
  602. info := &grpc.UnaryServerInfo{
  603. Server: srv,
  604. FullMethod: "/api.user.User/FindLikeList",
  605. }
  606. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  607. return srv.(UserServer).FindLikeList(ctx, req.(*common.ListPageRequest))
  608. }
  609. return interceptor(ctx, in, info, handler)
  610. }
  611. func _User_FindLikedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  612. in := new(common.ListPageRequest)
  613. if err := dec(in); err != nil {
  614. return nil, err
  615. }
  616. if interceptor == nil {
  617. return srv.(UserServer).FindLikedList(ctx, in)
  618. }
  619. info := &grpc.UnaryServerInfo{
  620. Server: srv,
  621. FullMethod: "/api.user.User/FindLikedList",
  622. }
  623. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  624. return srv.(UserServer).FindLikedList(ctx, req.(*common.ListPageRequest))
  625. }
  626. return interceptor(ctx, in, info, handler)
  627. }
  628. func _User_GetLookAndLikeStatisticsMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  629. in := new(emptypb.Empty)
  630. if err := dec(in); err != nil {
  631. return nil, err
  632. }
  633. if interceptor == nil {
  634. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, in)
  635. }
  636. info := &grpc.UnaryServerInfo{
  637. Server: srv,
  638. FullMethod: "/api.user.User/GetLookAndLikeStatisticsMessage",
  639. }
  640. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  641. return srv.(UserServer).GetLookAndLikeStatisticsMessage(ctx, req.(*emptypb.Empty))
  642. }
  643. return interceptor(ctx, in, info, handler)
  644. }
  645. func _User_WxConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  646. in := new(common.WxConfReq)
  647. if err := dec(in); err != nil {
  648. return nil, err
  649. }
  650. if interceptor == nil {
  651. return srv.(UserServer).WxConf(ctx, in)
  652. }
  653. info := &grpc.UnaryServerInfo{
  654. Server: srv,
  655. FullMethod: "/api.user.User/WxConf",
  656. }
  657. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  658. return srv.(UserServer).WxConf(ctx, req.(*common.WxConfReq))
  659. }
  660. return interceptor(ctx, in, info, handler)
  661. }
  662. func _User_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  663. in := new(common.SexReq)
  664. if err := dec(in); err != nil {
  665. return nil, err
  666. }
  667. if interceptor == nil {
  668. return srv.(UserServer).FindTagListBySex(ctx, in)
  669. }
  670. info := &grpc.UnaryServerInfo{
  671. Server: srv,
  672. FullMethod: "/api.user.User/FindTagListBySex",
  673. }
  674. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  675. return srv.(UserServer).FindTagListBySex(ctx, req.(*common.SexReq))
  676. }
  677. return interceptor(ctx, in, info, handler)
  678. }
  679. func _User_FindOnlineList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  680. in := new(common.ListPage2Request)
  681. if err := dec(in); err != nil {
  682. return nil, err
  683. }
  684. if interceptor == nil {
  685. return srv.(UserServer).FindOnlineList(ctx, in)
  686. }
  687. info := &grpc.UnaryServerInfo{
  688. Server: srv,
  689. FullMethod: "/api.user.User/FindOnlineList",
  690. }
  691. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  692. return srv.(UserServer).FindOnlineList(ctx, req.(*common.ListPage2Request))
  693. }
  694. return interceptor(ctx, in, info, handler)
  695. }
  696. func _User_FindWithinSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  697. in := new(common.ListPageRequest)
  698. if err := dec(in); err != nil {
  699. return nil, err
  700. }
  701. if interceptor == nil {
  702. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, in)
  703. }
  704. info := &grpc.UnaryServerInfo{
  705. Server: srv,
  706. FullMethod: "/api.user.User/FindWithinSevenDayRoomList",
  707. }
  708. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  709. return srv.(UserServer).FindWithinSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  710. }
  711. return interceptor(ctx, in, info, handler)
  712. }
  713. func _User_FindOverSevenDayRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  714. in := new(common.ListPageRequest)
  715. if err := dec(in); err != nil {
  716. return nil, err
  717. }
  718. if interceptor == nil {
  719. return srv.(UserServer).FindOverSevenDayRoomList(ctx, in)
  720. }
  721. info := &grpc.UnaryServerInfo{
  722. Server: srv,
  723. FullMethod: "/api.user.User/FindOverSevenDayRoomList",
  724. }
  725. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  726. return srv.(UserServer).FindOverSevenDayRoomList(ctx, req.(*common.ListPageRequest))
  727. }
  728. return interceptor(ctx, in, info, handler)
  729. }
  730. func _User_UserGetPersonLikedAndLooked_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  731. in := new(common.PersonParam)
  732. if err := dec(in); err != nil {
  733. return nil, err
  734. }
  735. if interceptor == nil {
  736. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, in)
  737. }
  738. info := &grpc.UnaryServerInfo{
  739. Server: srv,
  740. FullMethod: "/api.user.User/UserGetPersonLikedAndLooked",
  741. }
  742. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  743. return srv.(UserServer).UserGetPersonLikedAndLooked(ctx, req.(*common.PersonParam))
  744. }
  745. return interceptor(ctx, in, info, handler)
  746. }
  747. func _User_GetUserBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  748. in := new(emptypb.Empty)
  749. if err := dec(in); err != nil {
  750. return nil, err
  751. }
  752. if interceptor == nil {
  753. return srv.(UserServer).GetUserBalance(ctx, in)
  754. }
  755. info := &grpc.UnaryServerInfo{
  756. Server: srv,
  757. FullMethod: "/api.user.User/GetUserBalance",
  758. }
  759. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  760. return srv.(UserServer).GetUserBalance(ctx, req.(*emptypb.Empty))
  761. }
  762. return interceptor(ctx, in, info, handler)
  763. }
  764. func _User_GetUserLookNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  765. in := new(emptypb.Empty)
  766. if err := dec(in); err != nil {
  767. return nil, err
  768. }
  769. if interceptor == nil {
  770. return srv.(UserServer).GetUserLookNum(ctx, in)
  771. }
  772. info := &grpc.UnaryServerInfo{
  773. Server: srv,
  774. FullMethod: "/api.user.User/GetUserLookNum",
  775. }
  776. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  777. return srv.(UserServer).GetUserLookNum(ctx, req.(*emptypb.Empty))
  778. }
  779. return interceptor(ctx, in, info, handler)
  780. }
  781. func _User_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  782. in := new(common.FindChatRecordListRequest)
  783. if err := dec(in); err != nil {
  784. return nil, err
  785. }
  786. if interceptor == nil {
  787. return srv.(UserServer).FindChatRecordList(ctx, in)
  788. }
  789. info := &grpc.UnaryServerInfo{
  790. Server: srv,
  791. FullMethod: "/api.user.User/FindChatRecordList",
  792. }
  793. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  794. return srv.(UserServer).FindChatRecordList(ctx, req.(*common.FindChatRecordListRequest))
  795. }
  796. return interceptor(ctx, in, info, handler)
  797. }
  798. func _User_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  799. in := new(common.FindChatRoomMsgRequest)
  800. if err := dec(in); err != nil {
  801. return nil, err
  802. }
  803. if interceptor == nil {
  804. return srv.(UserServer).FindChatRoomMsg(ctx, in)
  805. }
  806. info := &grpc.UnaryServerInfo{
  807. Server: srv,
  808. FullMethod: "/api.user.User/FindChatRoomMsg",
  809. }
  810. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  811. return srv.(UserServer).FindChatRoomMsg(ctx, req.(*common.FindChatRoomMsgRequest))
  812. }
  813. return interceptor(ctx, in, info, handler)
  814. }
  815. // User_ServiceDesc is the grpc.ServiceDesc for User service.
  816. // It's only intended for direct use with grpc.RegisterService,
  817. // and not to be introspected or modified (even as a copy)
  818. var User_ServiceDesc = grpc.ServiceDesc{
  819. ServiceName: "api.user.User",
  820. HandlerType: (*UserServer)(nil),
  821. Methods: []grpc.MethodDesc{
  822. {
  823. MethodName: "UpdateUserInformation",
  824. Handler: _User_UpdateUserInformation_Handler,
  825. },
  826. {
  827. MethodName: "GetUserInfo",
  828. Handler: _User_GetUserInfo_Handler,
  829. },
  830. {
  831. MethodName: "GetUserDBMsg",
  832. Handler: _User_GetUserDBMsg_Handler,
  833. },
  834. {
  835. MethodName: "SendPhoneCode",
  836. Handler: _User_SendPhoneCode_Handler,
  837. },
  838. {
  839. MethodName: "CheckPhoneCode",
  840. Handler: _User_CheckPhoneCode_Handler,
  841. },
  842. {
  843. MethodName: "CheckUserPartnerIsRelationship",
  844. Handler: _User_CheckUserPartnerIsRelationship_Handler,
  845. },
  846. {
  847. MethodName: "CreateUserPartnerRoom",
  848. Handler: _User_CreateUserPartnerRoom_Handler,
  849. },
  850. {
  851. MethodName: "GetPartnerCircleInfo",
  852. Handler: _User_GetPartnerCircleInfo_Handler,
  853. },
  854. {
  855. MethodName: "UserGetHomeInfo",
  856. Handler: _User_UserGetHomeInfo_Handler,
  857. },
  858. {
  859. MethodName: "FindUserDBList",
  860. Handler: _User_FindUserDBList_Handler,
  861. },
  862. {
  863. MethodName: "FindLookList",
  864. Handler: _User_FindLookList_Handler,
  865. },
  866. {
  867. MethodName: "FindLikeList",
  868. Handler: _User_FindLikeList_Handler,
  869. },
  870. {
  871. MethodName: "FindLikedList",
  872. Handler: _User_FindLikedList_Handler,
  873. },
  874. {
  875. MethodName: "GetLookAndLikeStatisticsMessage",
  876. Handler: _User_GetLookAndLikeStatisticsMessage_Handler,
  877. },
  878. {
  879. MethodName: "WxConf",
  880. Handler: _User_WxConf_Handler,
  881. },
  882. {
  883. MethodName: "FindTagListBySex",
  884. Handler: _User_FindTagListBySex_Handler,
  885. },
  886. {
  887. MethodName: "FindOnlineList",
  888. Handler: _User_FindOnlineList_Handler,
  889. },
  890. {
  891. MethodName: "FindWithinSevenDayRoomList",
  892. Handler: _User_FindWithinSevenDayRoomList_Handler,
  893. },
  894. {
  895. MethodName: "FindOverSevenDayRoomList",
  896. Handler: _User_FindOverSevenDayRoomList_Handler,
  897. },
  898. {
  899. MethodName: "UserGetPersonLikedAndLooked",
  900. Handler: _User_UserGetPersonLikedAndLooked_Handler,
  901. },
  902. {
  903. MethodName: "GetUserBalance",
  904. Handler: _User_GetUserBalance_Handler,
  905. },
  906. {
  907. MethodName: "GetUserLookNum",
  908. Handler: _User_GetUserLookNum_Handler,
  909. },
  910. {
  911. MethodName: "FindChatRecordList",
  912. Handler: _User_FindChatRecordList_Handler,
  913. },
  914. {
  915. MethodName: "FindChatRoomMsg",
  916. Handler: _User_FindChatRoomMsg_Handler,
  917. },
  918. },
  919. Streams: []grpc.StreamDesc{},
  920. Metadata: "user.proto",
  921. }