account_grpc.pb.go 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package account
  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. // AccountClient is the client API for Account 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 AccountClient interface {
  19. DebugLogin(ctx context.Context, in *DebugLoginRequest, opts ...grpc.CallOption) (*TokenReply, error)
  20. Authorization(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*TokenReply, error)
  21. RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error)
  22. RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error)
  23. // 获取公众号配置
  24. GetGetGzhConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetGetGzhConfigReply, error)
  25. RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error)
  26. // 通过openID和appID查询
  27. GetIdentityByOpenIDAndAppID(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error)
  28. // 通过openID和appID查询 未查到就创建
  29. GetIdentityByOpenIDAndAppIDAndCreate(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error)
  30. // 通过分组名和性别查询标签
  31. FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
  32. // 通过标签IDs查询标签
  33. FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error)
  34. // 随机介绍接口
  35. RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error)
  36. // 通过微信下载语音并上传到七牛
  37. UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error)
  38. // 通过类型获取表情包列表
  39. FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
  40. // 获取对方性别的聊天话题
  41. FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
  42. // 随机表情包
  43. RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
  44. // 随机打招呼
  45. RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
  46. // 检查文本-百度云
  47. CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextReply, error)
  48. // 获取用户登录配置
  49. GetUserLoginConfig(ctx context.Context, in *common.GetLoginConfigRequest, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error)
  50. // 通过accountID获取Identify信息
  51. GetIdentifyByAccountID(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error)
  52. // 通过accountID获取Identify信息
  53. GetIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error)
  54. // 通过accountID获取Identify信息
  55. FindIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *FindIdentifyByAccountIDAndIsSubscribeRequest, opts ...grpc.CallOption) (*FindIdentifyByAccountIDAndIsSubscribeReply, error)
  56. // 用户关注
  57. UserSubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  58. // 用户取关
  59. UserUnsubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  60. }
  61. type accountClient struct {
  62. cc grpc.ClientConnInterface
  63. }
  64. func NewAccountClient(cc grpc.ClientConnInterface) AccountClient {
  65. return &accountClient{cc}
  66. }
  67. func (c *accountClient) DebugLogin(ctx context.Context, in *DebugLoginRequest, opts ...grpc.CallOption) (*TokenReply, error) {
  68. out := new(TokenReply)
  69. err := c.cc.Invoke(ctx, "/api.account.Account/DebugLogin", in, out, opts...)
  70. if err != nil {
  71. return nil, err
  72. }
  73. return out, nil
  74. }
  75. func (c *accountClient) Authorization(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*TokenReply, error) {
  76. out := new(TokenReply)
  77. err := c.cc.Invoke(ctx, "/api.account.Account/Authorization", in, out, opts...)
  78. if err != nil {
  79. return nil, err
  80. }
  81. return out, nil
  82. }
  83. func (c *accountClient) RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error) {
  84. out := new(RandomNicknameReply)
  85. err := c.cc.Invoke(ctx, "/api.account.Account/RandomNickname", in, out, opts...)
  86. if err != nil {
  87. return nil, err
  88. }
  89. return out, nil
  90. }
  91. func (c *accountClient) RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error) {
  92. out := new(RandomAvatarReply)
  93. err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatar", in, out, opts...)
  94. if err != nil {
  95. return nil, err
  96. }
  97. return out, nil
  98. }
  99. func (c *accountClient) GetGetGzhConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetGetGzhConfigReply, error) {
  100. out := new(GetGetGzhConfigReply)
  101. err := c.cc.Invoke(ctx, "/api.account.Account/GetGetGzhConfig", in, out, opts...)
  102. if err != nil {
  103. return nil, err
  104. }
  105. return out, nil
  106. }
  107. func (c *accountClient) RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error) {
  108. out := new(RandomAvatarListReply)
  109. err := c.cc.Invoke(ctx, "/api.account.Account/RandomAvatarList", in, out, opts...)
  110. if err != nil {
  111. return nil, err
  112. }
  113. return out, nil
  114. }
  115. func (c *accountClient) GetIdentityByOpenIDAndAppID(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error) {
  116. out := new(IdentityInfo)
  117. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentityByOpenIDAndAppID", in, out, opts...)
  118. if err != nil {
  119. return nil, err
  120. }
  121. return out, nil
  122. }
  123. func (c *accountClient) GetIdentityByOpenIDAndAppIDAndCreate(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*IdentityInfo, error) {
  124. out := new(IdentityInfo)
  125. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentityByOpenIDAndAppIDAndCreate", in, out, opts...)
  126. if err != nil {
  127. return nil, err
  128. }
  129. return out, nil
  130. }
  131. func (c *accountClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  132. out := new(common.TagListReply)
  133. err := c.cc.Invoke(ctx, "/api.account.Account/FindTagListBySex", in, out, opts...)
  134. if err != nil {
  135. return nil, err
  136. }
  137. return out, nil
  138. }
  139. func (c *accountClient) FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error) {
  140. out := new(common.TagListReply)
  141. err := c.cc.Invoke(ctx, "/api.account.Account/FindTagsByIDs", in, out, opts...)
  142. if err != nil {
  143. return nil, err
  144. }
  145. return out, nil
  146. }
  147. func (c *accountClient) RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error) {
  148. out := new(common.RandomIntroduceReply)
  149. err := c.cc.Invoke(ctx, "/api.account.Account/RandomIntroduce", in, out, opts...)
  150. if err != nil {
  151. return nil, err
  152. }
  153. return out, nil
  154. }
  155. func (c *accountClient) UploadMaterialVoice(ctx context.Context, in *MediaID, opts ...grpc.CallOption) (*MaterialLink, error) {
  156. out := new(MaterialLink)
  157. err := c.cc.Invoke(ctx, "/api.account.Account/UploadMaterialVoice", in, out, opts...)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return out, nil
  162. }
  163. func (c *accountClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
  164. out := new(common.MemeList)
  165. err := c.cc.Invoke(ctx, "/api.account.Account/FindMemeByType", in, out, opts...)
  166. if err != nil {
  167. return nil, err
  168. }
  169. return out, nil
  170. }
  171. func (c *accountClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
  172. out := new(common.ChatTopicList)
  173. err := c.cc.Invoke(ctx, "/api.account.Account/FindChatTopic", in, out, opts...)
  174. if err != nil {
  175. return nil, err
  176. }
  177. return out, nil
  178. }
  179. func (c *accountClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  180. out := new(common.CommonTextList)
  181. err := c.cc.Invoke(ctx, "/api.account.Account/RandomMeme", in, out, opts...)
  182. if err != nil {
  183. return nil, err
  184. }
  185. return out, nil
  186. }
  187. func (c *accountClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  188. out := new(common.CommonTextList)
  189. err := c.cc.Invoke(ctx, "/api.account.Account/RandomSwiftMessage", in, out, opts...)
  190. if err != nil {
  191. return nil, err
  192. }
  193. return out, nil
  194. }
  195. func (c *accountClient) CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextReply, error) {
  196. out := new(CheckTextReply)
  197. err := c.cc.Invoke(ctx, "/api.account.Account/CheckText", in, out, opts...)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return out, nil
  202. }
  203. func (c *accountClient) GetUserLoginConfig(ctx context.Context, in *common.GetLoginConfigRequest, opts ...grpc.CallOption) (*common.GetLoginConfigReply, error) {
  204. out := new(common.GetLoginConfigReply)
  205. err := c.cc.Invoke(ctx, "/api.account.Account/GetUserLoginConfig", in, out, opts...)
  206. if err != nil {
  207. return nil, err
  208. }
  209. return out, nil
  210. }
  211. func (c *accountClient) GetIdentifyByAccountID(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error) {
  212. out := new(GetIdentifyByAccountIDReply)
  213. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentifyByAccountID", in, out, opts...)
  214. if err != nil {
  215. return nil, err
  216. }
  217. return out, nil
  218. }
  219. func (c *accountClient) GetIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *GetIdentifyByAccountIDRequest, opts ...grpc.CallOption) (*GetIdentifyByAccountIDReply, error) {
  220. out := new(GetIdentifyByAccountIDReply)
  221. err := c.cc.Invoke(ctx, "/api.account.Account/GetIdentifyByAccountIDAndIsSubscribe", in, out, opts...)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return out, nil
  226. }
  227. func (c *accountClient) FindIdentifyByAccountIDAndIsSubscribe(ctx context.Context, in *FindIdentifyByAccountIDAndIsSubscribeRequest, opts ...grpc.CallOption) (*FindIdentifyByAccountIDAndIsSubscribeReply, error) {
  228. out := new(FindIdentifyByAccountIDAndIsSubscribeReply)
  229. err := c.cc.Invoke(ctx, "/api.account.Account/FindIdentifyByAccountIDAndIsSubscribe", in, out, opts...)
  230. if err != nil {
  231. return nil, err
  232. }
  233. return out, nil
  234. }
  235. func (c *accountClient) UserSubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  236. out := new(emptypb.Empty)
  237. err := c.cc.Invoke(ctx, "/api.account.Account/UserSubscribe", in, out, opts...)
  238. if err != nil {
  239. return nil, err
  240. }
  241. return out, nil
  242. }
  243. func (c *accountClient) UserUnsubscribe(ctx context.Context, in *OpenIDAndAppIDRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  244. out := new(emptypb.Empty)
  245. err := c.cc.Invoke(ctx, "/api.account.Account/UserUnsubscribe", in, out, opts...)
  246. if err != nil {
  247. return nil, err
  248. }
  249. return out, nil
  250. }
  251. // AccountServer is the server API for Account service.
  252. // All implementations must embed UnimplementedAccountServer
  253. // for forward compatibility
  254. type AccountServer interface {
  255. DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error)
  256. Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error)
  257. RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
  258. RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
  259. // 获取公众号配置
  260. GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error)
  261. RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error)
  262. // 通过openID和appID查询
  263. GetIdentityByOpenIDAndAppID(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error)
  264. // 通过openID和appID查询 未查到就创建
  265. GetIdentityByOpenIDAndAppIDAndCreate(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error)
  266. // 通过分组名和性别查询标签
  267. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  268. // 通过标签IDs查询标签
  269. FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error)
  270. // 随机介绍接口
  271. RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
  272. // 通过微信下载语音并上传到七牛
  273. UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error)
  274. // 通过类型获取表情包列表
  275. FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
  276. // 获取对方性别的聊天话题
  277. FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
  278. // 随机表情包
  279. RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
  280. // 随机打招呼
  281. RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
  282. // 检查文本-百度云
  283. CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error)
  284. // 获取用户登录配置
  285. GetUserLoginConfig(context.Context, *common.GetLoginConfigRequest) (*common.GetLoginConfigReply, error)
  286. // 通过accountID获取Identify信息
  287. GetIdentifyByAccountID(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error)
  288. // 通过accountID获取Identify信息
  289. GetIdentifyByAccountIDAndIsSubscribe(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error)
  290. // 通过accountID获取Identify信息
  291. FindIdentifyByAccountIDAndIsSubscribe(context.Context, *FindIdentifyByAccountIDAndIsSubscribeRequest) (*FindIdentifyByAccountIDAndIsSubscribeReply, error)
  292. // 用户关注
  293. UserSubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error)
  294. // 用户取关
  295. UserUnsubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error)
  296. mustEmbedUnimplementedAccountServer()
  297. }
  298. // UnimplementedAccountServer must be embedded to have forward compatible implementations.
  299. type UnimplementedAccountServer struct {
  300. }
  301. func (UnimplementedAccountServer) DebugLogin(context.Context, *DebugLoginRequest) (*TokenReply, error) {
  302. return nil, status.Errorf(codes.Unimplemented, "method DebugLogin not implemented")
  303. }
  304. func (UnimplementedAccountServer) Authorization(context.Context, *AuthorizationRequest) (*TokenReply, error) {
  305. return nil, status.Errorf(codes.Unimplemented, "method Authorization not implemented")
  306. }
  307. func (UnimplementedAccountServer) RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error) {
  308. return nil, status.Errorf(codes.Unimplemented, "method RandomNickname not implemented")
  309. }
  310. func (UnimplementedAccountServer) RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error) {
  311. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatar not implemented")
  312. }
  313. func (UnimplementedAccountServer) GetGetGzhConfig(context.Context, *emptypb.Empty) (*GetGetGzhConfigReply, error) {
  314. return nil, status.Errorf(codes.Unimplemented, "method GetGetGzhConfig not implemented")
  315. }
  316. func (UnimplementedAccountServer) RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error) {
  317. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatarList not implemented")
  318. }
  319. func (UnimplementedAccountServer) GetIdentityByOpenIDAndAppID(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error) {
  320. return nil, status.Errorf(codes.Unimplemented, "method GetIdentityByOpenIDAndAppID not implemented")
  321. }
  322. func (UnimplementedAccountServer) GetIdentityByOpenIDAndAppIDAndCreate(context.Context, *OpenIDAndAppIDRequest) (*IdentityInfo, error) {
  323. return nil, status.Errorf(codes.Unimplemented, "method GetIdentityByOpenIDAndAppIDAndCreate not implemented")
  324. }
  325. func (UnimplementedAccountServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  326. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  327. }
  328. func (UnimplementedAccountServer) FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error) {
  329. return nil, status.Errorf(codes.Unimplemented, "method FindTagsByIDs not implemented")
  330. }
  331. func (UnimplementedAccountServer) RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error) {
  332. return nil, status.Errorf(codes.Unimplemented, "method RandomIntroduce not implemented")
  333. }
  334. func (UnimplementedAccountServer) UploadMaterialVoice(context.Context, *MediaID) (*MaterialLink, error) {
  335. return nil, status.Errorf(codes.Unimplemented, "method UploadMaterialVoice not implemented")
  336. }
  337. func (UnimplementedAccountServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
  338. return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
  339. }
  340. func (UnimplementedAccountServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
  341. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
  342. }
  343. func (UnimplementedAccountServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
  344. return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
  345. }
  346. func (UnimplementedAccountServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
  347. return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
  348. }
  349. func (UnimplementedAccountServer) CheckText(context.Context, *CheckTextRequest) (*CheckTextReply, error) {
  350. return nil, status.Errorf(codes.Unimplemented, "method CheckText not implemented")
  351. }
  352. func (UnimplementedAccountServer) GetUserLoginConfig(context.Context, *common.GetLoginConfigRequest) (*common.GetLoginConfigReply, error) {
  353. return nil, status.Errorf(codes.Unimplemented, "method GetUserLoginConfig not implemented")
  354. }
  355. func (UnimplementedAccountServer) GetIdentifyByAccountID(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error) {
  356. return nil, status.Errorf(codes.Unimplemented, "method GetIdentifyByAccountID not implemented")
  357. }
  358. func (UnimplementedAccountServer) GetIdentifyByAccountIDAndIsSubscribe(context.Context, *GetIdentifyByAccountIDRequest) (*GetIdentifyByAccountIDReply, error) {
  359. return nil, status.Errorf(codes.Unimplemented, "method GetIdentifyByAccountIDAndIsSubscribe not implemented")
  360. }
  361. func (UnimplementedAccountServer) FindIdentifyByAccountIDAndIsSubscribe(context.Context, *FindIdentifyByAccountIDAndIsSubscribeRequest) (*FindIdentifyByAccountIDAndIsSubscribeReply, error) {
  362. return nil, status.Errorf(codes.Unimplemented, "method FindIdentifyByAccountIDAndIsSubscribe not implemented")
  363. }
  364. func (UnimplementedAccountServer) UserSubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error) {
  365. return nil, status.Errorf(codes.Unimplemented, "method UserSubscribe not implemented")
  366. }
  367. func (UnimplementedAccountServer) UserUnsubscribe(context.Context, *OpenIDAndAppIDRequest) (*emptypb.Empty, error) {
  368. return nil, status.Errorf(codes.Unimplemented, "method UserUnsubscribe not implemented")
  369. }
  370. func (UnimplementedAccountServer) mustEmbedUnimplementedAccountServer() {}
  371. // UnsafeAccountServer may be embedded to opt out of forward compatibility for this service.
  372. // Use of this interface is not recommended, as added methods to AccountServer will
  373. // result in compilation errors.
  374. type UnsafeAccountServer interface {
  375. mustEmbedUnimplementedAccountServer()
  376. }
  377. func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer) {
  378. s.RegisterService(&Account_ServiceDesc, srv)
  379. }
  380. func _Account_DebugLogin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  381. in := new(DebugLoginRequest)
  382. if err := dec(in); err != nil {
  383. return nil, err
  384. }
  385. if interceptor == nil {
  386. return srv.(AccountServer).DebugLogin(ctx, in)
  387. }
  388. info := &grpc.UnaryServerInfo{
  389. Server: srv,
  390. FullMethod: "/api.account.Account/DebugLogin",
  391. }
  392. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  393. return srv.(AccountServer).DebugLogin(ctx, req.(*DebugLoginRequest))
  394. }
  395. return interceptor(ctx, in, info, handler)
  396. }
  397. func _Account_Authorization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  398. in := new(AuthorizationRequest)
  399. if err := dec(in); err != nil {
  400. return nil, err
  401. }
  402. if interceptor == nil {
  403. return srv.(AccountServer).Authorization(ctx, in)
  404. }
  405. info := &grpc.UnaryServerInfo{
  406. Server: srv,
  407. FullMethod: "/api.account.Account/Authorization",
  408. }
  409. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  410. return srv.(AccountServer).Authorization(ctx, req.(*AuthorizationRequest))
  411. }
  412. return interceptor(ctx, in, info, handler)
  413. }
  414. func _Account_RandomNickname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  415. in := new(common.SexReq)
  416. if err := dec(in); err != nil {
  417. return nil, err
  418. }
  419. if interceptor == nil {
  420. return srv.(AccountServer).RandomNickname(ctx, in)
  421. }
  422. info := &grpc.UnaryServerInfo{
  423. Server: srv,
  424. FullMethod: "/api.account.Account/RandomNickname",
  425. }
  426. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  427. return srv.(AccountServer).RandomNickname(ctx, req.(*common.SexReq))
  428. }
  429. return interceptor(ctx, in, info, handler)
  430. }
  431. func _Account_RandomAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  432. in := new(common.SexReq)
  433. if err := dec(in); err != nil {
  434. return nil, err
  435. }
  436. if interceptor == nil {
  437. return srv.(AccountServer).RandomAvatar(ctx, in)
  438. }
  439. info := &grpc.UnaryServerInfo{
  440. Server: srv,
  441. FullMethod: "/api.account.Account/RandomAvatar",
  442. }
  443. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  444. return srv.(AccountServer).RandomAvatar(ctx, req.(*common.SexReq))
  445. }
  446. return interceptor(ctx, in, info, handler)
  447. }
  448. func _Account_GetGetGzhConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  449. in := new(emptypb.Empty)
  450. if err := dec(in); err != nil {
  451. return nil, err
  452. }
  453. if interceptor == nil {
  454. return srv.(AccountServer).GetGetGzhConfig(ctx, in)
  455. }
  456. info := &grpc.UnaryServerInfo{
  457. Server: srv,
  458. FullMethod: "/api.account.Account/GetGetGzhConfig",
  459. }
  460. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  461. return srv.(AccountServer).GetGetGzhConfig(ctx, req.(*emptypb.Empty))
  462. }
  463. return interceptor(ctx, in, info, handler)
  464. }
  465. func _Account_RandomAvatarList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  466. in := new(common.SexReq)
  467. if err := dec(in); err != nil {
  468. return nil, err
  469. }
  470. if interceptor == nil {
  471. return srv.(AccountServer).RandomAvatarList(ctx, in)
  472. }
  473. info := &grpc.UnaryServerInfo{
  474. Server: srv,
  475. FullMethod: "/api.account.Account/RandomAvatarList",
  476. }
  477. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  478. return srv.(AccountServer).RandomAvatarList(ctx, req.(*common.SexReq))
  479. }
  480. return interceptor(ctx, in, info, handler)
  481. }
  482. func _Account_GetIdentityByOpenIDAndAppID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  483. in := new(OpenIDAndAppIDRequest)
  484. if err := dec(in); err != nil {
  485. return nil, err
  486. }
  487. if interceptor == nil {
  488. return srv.(AccountServer).GetIdentityByOpenIDAndAppID(ctx, in)
  489. }
  490. info := &grpc.UnaryServerInfo{
  491. Server: srv,
  492. FullMethod: "/api.account.Account/GetIdentityByOpenIDAndAppID",
  493. }
  494. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  495. return srv.(AccountServer).GetIdentityByOpenIDAndAppID(ctx, req.(*OpenIDAndAppIDRequest))
  496. }
  497. return interceptor(ctx, in, info, handler)
  498. }
  499. func _Account_GetIdentityByOpenIDAndAppIDAndCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  500. in := new(OpenIDAndAppIDRequest)
  501. if err := dec(in); err != nil {
  502. return nil, err
  503. }
  504. if interceptor == nil {
  505. return srv.(AccountServer).GetIdentityByOpenIDAndAppIDAndCreate(ctx, in)
  506. }
  507. info := &grpc.UnaryServerInfo{
  508. Server: srv,
  509. FullMethod: "/api.account.Account/GetIdentityByOpenIDAndAppIDAndCreate",
  510. }
  511. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  512. return srv.(AccountServer).GetIdentityByOpenIDAndAppIDAndCreate(ctx, req.(*OpenIDAndAppIDRequest))
  513. }
  514. return interceptor(ctx, in, info, handler)
  515. }
  516. func _Account_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  517. in := new(common.SexReq)
  518. if err := dec(in); err != nil {
  519. return nil, err
  520. }
  521. if interceptor == nil {
  522. return srv.(AccountServer).FindTagListBySex(ctx, in)
  523. }
  524. info := &grpc.UnaryServerInfo{
  525. Server: srv,
  526. FullMethod: "/api.account.Account/FindTagListBySex",
  527. }
  528. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  529. return srv.(AccountServer).FindTagListBySex(ctx, req.(*common.SexReq))
  530. }
  531. return interceptor(ctx, in, info, handler)
  532. }
  533. func _Account_FindTagsByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  534. in := new(common.Ids)
  535. if err := dec(in); err != nil {
  536. return nil, err
  537. }
  538. if interceptor == nil {
  539. return srv.(AccountServer).FindTagsByIDs(ctx, in)
  540. }
  541. info := &grpc.UnaryServerInfo{
  542. Server: srv,
  543. FullMethod: "/api.account.Account/FindTagsByIDs",
  544. }
  545. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  546. return srv.(AccountServer).FindTagsByIDs(ctx, req.(*common.Ids))
  547. }
  548. return interceptor(ctx, in, info, handler)
  549. }
  550. func _Account_RandomIntroduce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  551. in := new(common.SexReq)
  552. if err := dec(in); err != nil {
  553. return nil, err
  554. }
  555. if interceptor == nil {
  556. return srv.(AccountServer).RandomIntroduce(ctx, in)
  557. }
  558. info := &grpc.UnaryServerInfo{
  559. Server: srv,
  560. FullMethod: "/api.account.Account/RandomIntroduce",
  561. }
  562. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  563. return srv.(AccountServer).RandomIntroduce(ctx, req.(*common.SexReq))
  564. }
  565. return interceptor(ctx, in, info, handler)
  566. }
  567. func _Account_UploadMaterialVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  568. in := new(MediaID)
  569. if err := dec(in); err != nil {
  570. return nil, err
  571. }
  572. if interceptor == nil {
  573. return srv.(AccountServer).UploadMaterialVoice(ctx, in)
  574. }
  575. info := &grpc.UnaryServerInfo{
  576. Server: srv,
  577. FullMethod: "/api.account.Account/UploadMaterialVoice",
  578. }
  579. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  580. return srv.(AccountServer).UploadMaterialVoice(ctx, req.(*MediaID))
  581. }
  582. return interceptor(ctx, in, info, handler)
  583. }
  584. func _Account_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  585. in := new(common.MemeRequest)
  586. if err := dec(in); err != nil {
  587. return nil, err
  588. }
  589. if interceptor == nil {
  590. return srv.(AccountServer).FindMemeByType(ctx, in)
  591. }
  592. info := &grpc.UnaryServerInfo{
  593. Server: srv,
  594. FullMethod: "/api.account.Account/FindMemeByType",
  595. }
  596. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  597. return srv.(AccountServer).FindMemeByType(ctx, req.(*common.MemeRequest))
  598. }
  599. return interceptor(ctx, in, info, handler)
  600. }
  601. func _Account_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  602. in := new(common.FindChatTopicRequest)
  603. if err := dec(in); err != nil {
  604. return nil, err
  605. }
  606. if interceptor == nil {
  607. return srv.(AccountServer).FindChatTopic(ctx, in)
  608. }
  609. info := &grpc.UnaryServerInfo{
  610. Server: srv,
  611. FullMethod: "/api.account.Account/FindChatTopic",
  612. }
  613. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  614. return srv.(AccountServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
  615. }
  616. return interceptor(ctx, in, info, handler)
  617. }
  618. func _Account_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  619. in := new(common.RandomNum)
  620. if err := dec(in); err != nil {
  621. return nil, err
  622. }
  623. if interceptor == nil {
  624. return srv.(AccountServer).RandomMeme(ctx, in)
  625. }
  626. info := &grpc.UnaryServerInfo{
  627. Server: srv,
  628. FullMethod: "/api.account.Account/RandomMeme",
  629. }
  630. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  631. return srv.(AccountServer).RandomMeme(ctx, req.(*common.RandomNum))
  632. }
  633. return interceptor(ctx, in, info, handler)
  634. }
  635. func _Account_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  636. in := new(common.RandomNumAndSex)
  637. if err := dec(in); err != nil {
  638. return nil, err
  639. }
  640. if interceptor == nil {
  641. return srv.(AccountServer).RandomSwiftMessage(ctx, in)
  642. }
  643. info := &grpc.UnaryServerInfo{
  644. Server: srv,
  645. FullMethod: "/api.account.Account/RandomSwiftMessage",
  646. }
  647. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  648. return srv.(AccountServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
  649. }
  650. return interceptor(ctx, in, info, handler)
  651. }
  652. func _Account_CheckText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  653. in := new(CheckTextRequest)
  654. if err := dec(in); err != nil {
  655. return nil, err
  656. }
  657. if interceptor == nil {
  658. return srv.(AccountServer).CheckText(ctx, in)
  659. }
  660. info := &grpc.UnaryServerInfo{
  661. Server: srv,
  662. FullMethod: "/api.account.Account/CheckText",
  663. }
  664. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  665. return srv.(AccountServer).CheckText(ctx, req.(*CheckTextRequest))
  666. }
  667. return interceptor(ctx, in, info, handler)
  668. }
  669. func _Account_GetUserLoginConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  670. in := new(common.GetLoginConfigRequest)
  671. if err := dec(in); err != nil {
  672. return nil, err
  673. }
  674. if interceptor == nil {
  675. return srv.(AccountServer).GetUserLoginConfig(ctx, in)
  676. }
  677. info := &grpc.UnaryServerInfo{
  678. Server: srv,
  679. FullMethod: "/api.account.Account/GetUserLoginConfig",
  680. }
  681. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  682. return srv.(AccountServer).GetUserLoginConfig(ctx, req.(*common.GetLoginConfigRequest))
  683. }
  684. return interceptor(ctx, in, info, handler)
  685. }
  686. func _Account_GetIdentifyByAccountID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  687. in := new(GetIdentifyByAccountIDRequest)
  688. if err := dec(in); err != nil {
  689. return nil, err
  690. }
  691. if interceptor == nil {
  692. return srv.(AccountServer).GetIdentifyByAccountID(ctx, in)
  693. }
  694. info := &grpc.UnaryServerInfo{
  695. Server: srv,
  696. FullMethod: "/api.account.Account/GetIdentifyByAccountID",
  697. }
  698. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  699. return srv.(AccountServer).GetIdentifyByAccountID(ctx, req.(*GetIdentifyByAccountIDRequest))
  700. }
  701. return interceptor(ctx, in, info, handler)
  702. }
  703. func _Account_GetIdentifyByAccountIDAndIsSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  704. in := new(GetIdentifyByAccountIDRequest)
  705. if err := dec(in); err != nil {
  706. return nil, err
  707. }
  708. if interceptor == nil {
  709. return srv.(AccountServer).GetIdentifyByAccountIDAndIsSubscribe(ctx, in)
  710. }
  711. info := &grpc.UnaryServerInfo{
  712. Server: srv,
  713. FullMethod: "/api.account.Account/GetIdentifyByAccountIDAndIsSubscribe",
  714. }
  715. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  716. return srv.(AccountServer).GetIdentifyByAccountIDAndIsSubscribe(ctx, req.(*GetIdentifyByAccountIDRequest))
  717. }
  718. return interceptor(ctx, in, info, handler)
  719. }
  720. func _Account_FindIdentifyByAccountIDAndIsSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  721. in := new(FindIdentifyByAccountIDAndIsSubscribeRequest)
  722. if err := dec(in); err != nil {
  723. return nil, err
  724. }
  725. if interceptor == nil {
  726. return srv.(AccountServer).FindIdentifyByAccountIDAndIsSubscribe(ctx, in)
  727. }
  728. info := &grpc.UnaryServerInfo{
  729. Server: srv,
  730. FullMethod: "/api.account.Account/FindIdentifyByAccountIDAndIsSubscribe",
  731. }
  732. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  733. return srv.(AccountServer).FindIdentifyByAccountIDAndIsSubscribe(ctx, req.(*FindIdentifyByAccountIDAndIsSubscribeRequest))
  734. }
  735. return interceptor(ctx, in, info, handler)
  736. }
  737. func _Account_UserSubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  738. in := new(OpenIDAndAppIDRequest)
  739. if err := dec(in); err != nil {
  740. return nil, err
  741. }
  742. if interceptor == nil {
  743. return srv.(AccountServer).UserSubscribe(ctx, in)
  744. }
  745. info := &grpc.UnaryServerInfo{
  746. Server: srv,
  747. FullMethod: "/api.account.Account/UserSubscribe",
  748. }
  749. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  750. return srv.(AccountServer).UserSubscribe(ctx, req.(*OpenIDAndAppIDRequest))
  751. }
  752. return interceptor(ctx, in, info, handler)
  753. }
  754. func _Account_UserUnsubscribe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  755. in := new(OpenIDAndAppIDRequest)
  756. if err := dec(in); err != nil {
  757. return nil, err
  758. }
  759. if interceptor == nil {
  760. return srv.(AccountServer).UserUnsubscribe(ctx, in)
  761. }
  762. info := &grpc.UnaryServerInfo{
  763. Server: srv,
  764. FullMethod: "/api.account.Account/UserUnsubscribe",
  765. }
  766. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  767. return srv.(AccountServer).UserUnsubscribe(ctx, req.(*OpenIDAndAppIDRequest))
  768. }
  769. return interceptor(ctx, in, info, handler)
  770. }
  771. // Account_ServiceDesc is the grpc.ServiceDesc for Account service.
  772. // It's only intended for direct use with grpc.RegisterService,
  773. // and not to be introspected or modified (even as a copy)
  774. var Account_ServiceDesc = grpc.ServiceDesc{
  775. ServiceName: "api.account.Account",
  776. HandlerType: (*AccountServer)(nil),
  777. Methods: []grpc.MethodDesc{
  778. {
  779. MethodName: "DebugLogin",
  780. Handler: _Account_DebugLogin_Handler,
  781. },
  782. {
  783. MethodName: "Authorization",
  784. Handler: _Account_Authorization_Handler,
  785. },
  786. {
  787. MethodName: "RandomNickname",
  788. Handler: _Account_RandomNickname_Handler,
  789. },
  790. {
  791. MethodName: "RandomAvatar",
  792. Handler: _Account_RandomAvatar_Handler,
  793. },
  794. {
  795. MethodName: "GetGetGzhConfig",
  796. Handler: _Account_GetGetGzhConfig_Handler,
  797. },
  798. {
  799. MethodName: "RandomAvatarList",
  800. Handler: _Account_RandomAvatarList_Handler,
  801. },
  802. {
  803. MethodName: "GetIdentityByOpenIDAndAppID",
  804. Handler: _Account_GetIdentityByOpenIDAndAppID_Handler,
  805. },
  806. {
  807. MethodName: "GetIdentityByOpenIDAndAppIDAndCreate",
  808. Handler: _Account_GetIdentityByOpenIDAndAppIDAndCreate_Handler,
  809. },
  810. {
  811. MethodName: "FindTagListBySex",
  812. Handler: _Account_FindTagListBySex_Handler,
  813. },
  814. {
  815. MethodName: "FindTagsByIDs",
  816. Handler: _Account_FindTagsByIDs_Handler,
  817. },
  818. {
  819. MethodName: "RandomIntroduce",
  820. Handler: _Account_RandomIntroduce_Handler,
  821. },
  822. {
  823. MethodName: "UploadMaterialVoice",
  824. Handler: _Account_UploadMaterialVoice_Handler,
  825. },
  826. {
  827. MethodName: "FindMemeByType",
  828. Handler: _Account_FindMemeByType_Handler,
  829. },
  830. {
  831. MethodName: "FindChatTopic",
  832. Handler: _Account_FindChatTopic_Handler,
  833. },
  834. {
  835. MethodName: "RandomMeme",
  836. Handler: _Account_RandomMeme_Handler,
  837. },
  838. {
  839. MethodName: "RandomSwiftMessage",
  840. Handler: _Account_RandomSwiftMessage_Handler,
  841. },
  842. {
  843. MethodName: "CheckText",
  844. Handler: _Account_CheckText_Handler,
  845. },
  846. {
  847. MethodName: "GetUserLoginConfig",
  848. Handler: _Account_GetUserLoginConfig_Handler,
  849. },
  850. {
  851. MethodName: "GetIdentifyByAccountID",
  852. Handler: _Account_GetIdentifyByAccountID_Handler,
  853. },
  854. {
  855. MethodName: "GetIdentifyByAccountIDAndIsSubscribe",
  856. Handler: _Account_GetIdentifyByAccountIDAndIsSubscribe_Handler,
  857. },
  858. {
  859. MethodName: "FindIdentifyByAccountIDAndIsSubscribe",
  860. Handler: _Account_FindIdentifyByAccountIDAndIsSubscribe_Handler,
  861. },
  862. {
  863. MethodName: "UserSubscribe",
  864. Handler: _Account_UserSubscribe_Handler,
  865. },
  866. {
  867. MethodName: "UserUnsubscribe",
  868. Handler: _Account_UserUnsubscribe_Handler,
  869. },
  870. },
  871. Streams: []grpc.StreamDesc{},
  872. Metadata: "account.proto",
  873. }