basics_grpc.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. // versions:
  3. // - protoc-gen-go-grpc v1.3.0
  4. // - protoc v4.22.3
  5. // source: basics.proto
  6. package basics
  7. import (
  8. context "context"
  9. common "git.ikuban.com/server/pw-protobuf/api/common"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. )
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the grpc package it is being compiled against.
  16. // Requires gRPC-Go v1.32.0 or later.
  17. const _ = grpc.SupportPackageIsVersion7
  18. const (
  19. Basics_RandomNickname_FullMethodName = "/api.basics.Basics/RandomNickname"
  20. Basics_RandomAvatar_FullMethodName = "/api.basics.Basics/RandomAvatar"
  21. Basics_RandomIntroduce_FullMethodName = "/api.basics.Basics/RandomIntroduce"
  22. Basics_BannerConf_FullMethodName = "/api.basics.Basics/BannerConf"
  23. Basics_RandomAvatarList_FullMethodName = "/api.basics.Basics/RandomAvatarList"
  24. Basics_FindTagListBySex_FullMethodName = "/api.basics.Basics/FindTagListBySex"
  25. Basics_FindTagsByIDs_FullMethodName = "/api.basics.Basics/FindTagsByIDs"
  26. Basics_FindMemeByType_FullMethodName = "/api.basics.Basics/FindMemeByType"
  27. Basics_FindChatTopic_FullMethodName = "/api.basics.Basics/FindChatTopic"
  28. Basics_RandomMeme_FullMethodName = "/api.basics.Basics/RandomMeme"
  29. Basics_RandomSwiftMessage_FullMethodName = "/api.basics.Basics/RandomSwiftMessage"
  30. )
  31. // BasicsClient is the client API for Basics service.
  32. //
  33. // 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.
  34. type BasicsClient interface {
  35. RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error)
  36. RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error)
  37. // 随机介绍接口
  38. RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error)
  39. BannerConf(ctx context.Context, in *BannerConfRequest, opts ...grpc.CallOption) (*BannerConfReply, error)
  40. // 随机头像列表
  41. RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error)
  42. // 通过分组名和性别查询标签
  43. FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error)
  44. // 通过标签IDs查询标签
  45. FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error)
  46. // 通过类型获取表情包列表
  47. FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error)
  48. // 获取对方性别的聊天话题
  49. FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error)
  50. // 随机表情包
  51. RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error)
  52. // 随机打招呼
  53. RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error)
  54. }
  55. type basicsClient struct {
  56. cc grpc.ClientConnInterface
  57. }
  58. func NewBasicsClient(cc grpc.ClientConnInterface) BasicsClient {
  59. return &basicsClient{cc}
  60. }
  61. func (c *basicsClient) RandomNickname(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomNicknameReply, error) {
  62. out := new(RandomNicknameReply)
  63. err := c.cc.Invoke(ctx, Basics_RandomNickname_FullMethodName, in, out, opts...)
  64. if err != nil {
  65. return nil, err
  66. }
  67. return out, nil
  68. }
  69. func (c *basicsClient) RandomAvatar(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarReply, error) {
  70. out := new(RandomAvatarReply)
  71. err := c.cc.Invoke(ctx, Basics_RandomAvatar_FullMethodName, in, out, opts...)
  72. if err != nil {
  73. return nil, err
  74. }
  75. return out, nil
  76. }
  77. func (c *basicsClient) RandomIntroduce(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.RandomIntroduceReply, error) {
  78. out := new(common.RandomIntroduceReply)
  79. err := c.cc.Invoke(ctx, Basics_RandomIntroduce_FullMethodName, in, out, opts...)
  80. if err != nil {
  81. return nil, err
  82. }
  83. return out, nil
  84. }
  85. func (c *basicsClient) BannerConf(ctx context.Context, in *BannerConfRequest, opts ...grpc.CallOption) (*BannerConfReply, error) {
  86. out := new(BannerConfReply)
  87. err := c.cc.Invoke(ctx, Basics_BannerConf_FullMethodName, in, out, opts...)
  88. if err != nil {
  89. return nil, err
  90. }
  91. return out, nil
  92. }
  93. func (c *basicsClient) RandomAvatarList(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*RandomAvatarListReply, error) {
  94. out := new(RandomAvatarListReply)
  95. err := c.cc.Invoke(ctx, Basics_RandomAvatarList_FullMethodName, in, out, opts...)
  96. if err != nil {
  97. return nil, err
  98. }
  99. return out, nil
  100. }
  101. func (c *basicsClient) FindTagListBySex(ctx context.Context, in *common.SexReq, opts ...grpc.CallOption) (*common.TagListReply, error) {
  102. out := new(common.TagListReply)
  103. err := c.cc.Invoke(ctx, Basics_FindTagListBySex_FullMethodName, in, out, opts...)
  104. if err != nil {
  105. return nil, err
  106. }
  107. return out, nil
  108. }
  109. func (c *basicsClient) FindTagsByIDs(ctx context.Context, in *common.Ids, opts ...grpc.CallOption) (*common.TagListReply, error) {
  110. out := new(common.TagListReply)
  111. err := c.cc.Invoke(ctx, Basics_FindTagsByIDs_FullMethodName, in, out, opts...)
  112. if err != nil {
  113. return nil, err
  114. }
  115. return out, nil
  116. }
  117. func (c *basicsClient) FindMemeByType(ctx context.Context, in *common.MemeRequest, opts ...grpc.CallOption) (*common.MemeList, error) {
  118. out := new(common.MemeList)
  119. err := c.cc.Invoke(ctx, Basics_FindMemeByType_FullMethodName, in, out, opts...)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return out, nil
  124. }
  125. func (c *basicsClient) FindChatTopic(ctx context.Context, in *common.FindChatTopicRequest, opts ...grpc.CallOption) (*common.ChatTopicList, error) {
  126. out := new(common.ChatTopicList)
  127. err := c.cc.Invoke(ctx, Basics_FindChatTopic_FullMethodName, in, out, opts...)
  128. if err != nil {
  129. return nil, err
  130. }
  131. return out, nil
  132. }
  133. func (c *basicsClient) RandomMeme(ctx context.Context, in *common.RandomNum, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  134. out := new(common.CommonTextList)
  135. err := c.cc.Invoke(ctx, Basics_RandomMeme_FullMethodName, in, out, opts...)
  136. if err != nil {
  137. return nil, err
  138. }
  139. return out, nil
  140. }
  141. func (c *basicsClient) RandomSwiftMessage(ctx context.Context, in *common.RandomNumAndSex, opts ...grpc.CallOption) (*common.CommonTextList, error) {
  142. out := new(common.CommonTextList)
  143. err := c.cc.Invoke(ctx, Basics_RandomSwiftMessage_FullMethodName, in, out, opts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. // BasicsServer is the server API for Basics service.
  150. // All implementations must embed UnimplementedBasicsServer
  151. // for forward compatibility
  152. type BasicsServer interface {
  153. RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error)
  154. RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error)
  155. // 随机介绍接口
  156. RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error)
  157. BannerConf(context.Context, *BannerConfRequest) (*BannerConfReply, error)
  158. // 随机头像列表
  159. RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error)
  160. // 通过分组名和性别查询标签
  161. FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error)
  162. // 通过标签IDs查询标签
  163. FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error)
  164. // 通过类型获取表情包列表
  165. FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error)
  166. // 获取对方性别的聊天话题
  167. FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error)
  168. // 随机表情包
  169. RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error)
  170. // 随机打招呼
  171. RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error)
  172. mustEmbedUnimplementedBasicsServer()
  173. }
  174. // UnimplementedBasicsServer must be embedded to have forward compatible implementations.
  175. type UnimplementedBasicsServer struct {
  176. }
  177. func (UnimplementedBasicsServer) RandomNickname(context.Context, *common.SexReq) (*RandomNicknameReply, error) {
  178. return nil, status.Errorf(codes.Unimplemented, "method RandomNickname not implemented")
  179. }
  180. func (UnimplementedBasicsServer) RandomAvatar(context.Context, *common.SexReq) (*RandomAvatarReply, error) {
  181. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatar not implemented")
  182. }
  183. func (UnimplementedBasicsServer) RandomIntroduce(context.Context, *common.SexReq) (*common.RandomIntroduceReply, error) {
  184. return nil, status.Errorf(codes.Unimplemented, "method RandomIntroduce not implemented")
  185. }
  186. func (UnimplementedBasicsServer) BannerConf(context.Context, *BannerConfRequest) (*BannerConfReply, error) {
  187. return nil, status.Errorf(codes.Unimplemented, "method BannerConf not implemented")
  188. }
  189. func (UnimplementedBasicsServer) RandomAvatarList(context.Context, *common.SexReq) (*RandomAvatarListReply, error) {
  190. return nil, status.Errorf(codes.Unimplemented, "method RandomAvatarList not implemented")
  191. }
  192. func (UnimplementedBasicsServer) FindTagListBySex(context.Context, *common.SexReq) (*common.TagListReply, error) {
  193. return nil, status.Errorf(codes.Unimplemented, "method FindTagListBySex not implemented")
  194. }
  195. func (UnimplementedBasicsServer) FindTagsByIDs(context.Context, *common.Ids) (*common.TagListReply, error) {
  196. return nil, status.Errorf(codes.Unimplemented, "method FindTagsByIDs not implemented")
  197. }
  198. func (UnimplementedBasicsServer) FindMemeByType(context.Context, *common.MemeRequest) (*common.MemeList, error) {
  199. return nil, status.Errorf(codes.Unimplemented, "method FindMemeByType not implemented")
  200. }
  201. func (UnimplementedBasicsServer) FindChatTopic(context.Context, *common.FindChatTopicRequest) (*common.ChatTopicList, error) {
  202. return nil, status.Errorf(codes.Unimplemented, "method FindChatTopic not implemented")
  203. }
  204. func (UnimplementedBasicsServer) RandomMeme(context.Context, *common.RandomNum) (*common.CommonTextList, error) {
  205. return nil, status.Errorf(codes.Unimplemented, "method RandomMeme not implemented")
  206. }
  207. func (UnimplementedBasicsServer) RandomSwiftMessage(context.Context, *common.RandomNumAndSex) (*common.CommonTextList, error) {
  208. return nil, status.Errorf(codes.Unimplemented, "method RandomSwiftMessage not implemented")
  209. }
  210. func (UnimplementedBasicsServer) mustEmbedUnimplementedBasicsServer() {}
  211. // UnsafeBasicsServer may be embedded to opt out of forward compatibility for this service.
  212. // Use of this interface is not recommended, as added methods to BasicsServer will
  213. // result in compilation errors.
  214. type UnsafeBasicsServer interface {
  215. mustEmbedUnimplementedBasicsServer()
  216. }
  217. func RegisterBasicsServer(s grpc.ServiceRegistrar, srv BasicsServer) {
  218. s.RegisterService(&Basics_ServiceDesc, srv)
  219. }
  220. func _Basics_RandomNickname_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  221. in := new(common.SexReq)
  222. if err := dec(in); err != nil {
  223. return nil, err
  224. }
  225. if interceptor == nil {
  226. return srv.(BasicsServer).RandomNickname(ctx, in)
  227. }
  228. info := &grpc.UnaryServerInfo{
  229. Server: srv,
  230. FullMethod: Basics_RandomNickname_FullMethodName,
  231. }
  232. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  233. return srv.(BasicsServer).RandomNickname(ctx, req.(*common.SexReq))
  234. }
  235. return interceptor(ctx, in, info, handler)
  236. }
  237. func _Basics_RandomAvatar_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  238. in := new(common.SexReq)
  239. if err := dec(in); err != nil {
  240. return nil, err
  241. }
  242. if interceptor == nil {
  243. return srv.(BasicsServer).RandomAvatar(ctx, in)
  244. }
  245. info := &grpc.UnaryServerInfo{
  246. Server: srv,
  247. FullMethod: Basics_RandomAvatar_FullMethodName,
  248. }
  249. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  250. return srv.(BasicsServer).RandomAvatar(ctx, req.(*common.SexReq))
  251. }
  252. return interceptor(ctx, in, info, handler)
  253. }
  254. func _Basics_RandomIntroduce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  255. in := new(common.SexReq)
  256. if err := dec(in); err != nil {
  257. return nil, err
  258. }
  259. if interceptor == nil {
  260. return srv.(BasicsServer).RandomIntroduce(ctx, in)
  261. }
  262. info := &grpc.UnaryServerInfo{
  263. Server: srv,
  264. FullMethod: Basics_RandomIntroduce_FullMethodName,
  265. }
  266. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  267. return srv.(BasicsServer).RandomIntroduce(ctx, req.(*common.SexReq))
  268. }
  269. return interceptor(ctx, in, info, handler)
  270. }
  271. func _Basics_BannerConf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  272. in := new(BannerConfRequest)
  273. if err := dec(in); err != nil {
  274. return nil, err
  275. }
  276. if interceptor == nil {
  277. return srv.(BasicsServer).BannerConf(ctx, in)
  278. }
  279. info := &grpc.UnaryServerInfo{
  280. Server: srv,
  281. FullMethod: Basics_BannerConf_FullMethodName,
  282. }
  283. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  284. return srv.(BasicsServer).BannerConf(ctx, req.(*BannerConfRequest))
  285. }
  286. return interceptor(ctx, in, info, handler)
  287. }
  288. func _Basics_RandomAvatarList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  289. in := new(common.SexReq)
  290. if err := dec(in); err != nil {
  291. return nil, err
  292. }
  293. if interceptor == nil {
  294. return srv.(BasicsServer).RandomAvatarList(ctx, in)
  295. }
  296. info := &grpc.UnaryServerInfo{
  297. Server: srv,
  298. FullMethod: Basics_RandomAvatarList_FullMethodName,
  299. }
  300. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  301. return srv.(BasicsServer).RandomAvatarList(ctx, req.(*common.SexReq))
  302. }
  303. return interceptor(ctx, in, info, handler)
  304. }
  305. func _Basics_FindTagListBySex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  306. in := new(common.SexReq)
  307. if err := dec(in); err != nil {
  308. return nil, err
  309. }
  310. if interceptor == nil {
  311. return srv.(BasicsServer).FindTagListBySex(ctx, in)
  312. }
  313. info := &grpc.UnaryServerInfo{
  314. Server: srv,
  315. FullMethod: Basics_FindTagListBySex_FullMethodName,
  316. }
  317. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  318. return srv.(BasicsServer).FindTagListBySex(ctx, req.(*common.SexReq))
  319. }
  320. return interceptor(ctx, in, info, handler)
  321. }
  322. func _Basics_FindTagsByIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  323. in := new(common.Ids)
  324. if err := dec(in); err != nil {
  325. return nil, err
  326. }
  327. if interceptor == nil {
  328. return srv.(BasicsServer).FindTagsByIDs(ctx, in)
  329. }
  330. info := &grpc.UnaryServerInfo{
  331. Server: srv,
  332. FullMethod: Basics_FindTagsByIDs_FullMethodName,
  333. }
  334. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  335. return srv.(BasicsServer).FindTagsByIDs(ctx, req.(*common.Ids))
  336. }
  337. return interceptor(ctx, in, info, handler)
  338. }
  339. func _Basics_FindMemeByType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  340. in := new(common.MemeRequest)
  341. if err := dec(in); err != nil {
  342. return nil, err
  343. }
  344. if interceptor == nil {
  345. return srv.(BasicsServer).FindMemeByType(ctx, in)
  346. }
  347. info := &grpc.UnaryServerInfo{
  348. Server: srv,
  349. FullMethod: Basics_FindMemeByType_FullMethodName,
  350. }
  351. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  352. return srv.(BasicsServer).FindMemeByType(ctx, req.(*common.MemeRequest))
  353. }
  354. return interceptor(ctx, in, info, handler)
  355. }
  356. func _Basics_FindChatTopic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  357. in := new(common.FindChatTopicRequest)
  358. if err := dec(in); err != nil {
  359. return nil, err
  360. }
  361. if interceptor == nil {
  362. return srv.(BasicsServer).FindChatTopic(ctx, in)
  363. }
  364. info := &grpc.UnaryServerInfo{
  365. Server: srv,
  366. FullMethod: Basics_FindChatTopic_FullMethodName,
  367. }
  368. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  369. return srv.(BasicsServer).FindChatTopic(ctx, req.(*common.FindChatTopicRequest))
  370. }
  371. return interceptor(ctx, in, info, handler)
  372. }
  373. func _Basics_RandomMeme_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  374. in := new(common.RandomNum)
  375. if err := dec(in); err != nil {
  376. return nil, err
  377. }
  378. if interceptor == nil {
  379. return srv.(BasicsServer).RandomMeme(ctx, in)
  380. }
  381. info := &grpc.UnaryServerInfo{
  382. Server: srv,
  383. FullMethod: Basics_RandomMeme_FullMethodName,
  384. }
  385. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  386. return srv.(BasicsServer).RandomMeme(ctx, req.(*common.RandomNum))
  387. }
  388. return interceptor(ctx, in, info, handler)
  389. }
  390. func _Basics_RandomSwiftMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  391. in := new(common.RandomNumAndSex)
  392. if err := dec(in); err != nil {
  393. return nil, err
  394. }
  395. if interceptor == nil {
  396. return srv.(BasicsServer).RandomSwiftMessage(ctx, in)
  397. }
  398. info := &grpc.UnaryServerInfo{
  399. Server: srv,
  400. FullMethod: Basics_RandomSwiftMessage_FullMethodName,
  401. }
  402. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  403. return srv.(BasicsServer).RandomSwiftMessage(ctx, req.(*common.RandomNumAndSex))
  404. }
  405. return interceptor(ctx, in, info, handler)
  406. }
  407. // Basics_ServiceDesc is the grpc.ServiceDesc for Basics service.
  408. // It's only intended for direct use with grpc.RegisterService,
  409. // and not to be introspected or modified (even as a copy)
  410. var Basics_ServiceDesc = grpc.ServiceDesc{
  411. ServiceName: "api.basics.Basics",
  412. HandlerType: (*BasicsServer)(nil),
  413. Methods: []grpc.MethodDesc{
  414. {
  415. MethodName: "RandomNickname",
  416. Handler: _Basics_RandomNickname_Handler,
  417. },
  418. {
  419. MethodName: "RandomAvatar",
  420. Handler: _Basics_RandomAvatar_Handler,
  421. },
  422. {
  423. MethodName: "RandomIntroduce",
  424. Handler: _Basics_RandomIntroduce_Handler,
  425. },
  426. {
  427. MethodName: "BannerConf",
  428. Handler: _Basics_BannerConf_Handler,
  429. },
  430. {
  431. MethodName: "RandomAvatarList",
  432. Handler: _Basics_RandomAvatarList_Handler,
  433. },
  434. {
  435. MethodName: "FindTagListBySex",
  436. Handler: _Basics_FindTagListBySex_Handler,
  437. },
  438. {
  439. MethodName: "FindTagsByIDs",
  440. Handler: _Basics_FindTagsByIDs_Handler,
  441. },
  442. {
  443. MethodName: "FindMemeByType",
  444. Handler: _Basics_FindMemeByType_Handler,
  445. },
  446. {
  447. MethodName: "FindChatTopic",
  448. Handler: _Basics_FindChatTopic_Handler,
  449. },
  450. {
  451. MethodName: "RandomMeme",
  452. Handler: _Basics_RandomMeme_Handler,
  453. },
  454. {
  455. MethodName: "RandomSwiftMessage",
  456. Handler: _Basics_RandomSwiftMessage_Handler,
  457. },
  458. },
  459. Streams: []grpc.StreamDesc{},
  460. Metadata: "basics.proto",
  461. }