go_user_client.go 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. // Code generated by goctl. DO NOT EDIT.
  2. // goctl 1.8.5
  3. // Source: gorpc.proto
  4. package gouserclient
  5. import (
  6. "context"
  7. "code.clickto.dev/nomo-server/go-service-pb/pb/pb"
  8. "github.com/zeromicro/go-zero/zrpc"
  9. "google.golang.org/grpc"
  10. )
  11. type (
  12. AccountDeviceListReq = pb.AccountDeviceListReq
  13. AccountDeviceListResp = pb.AccountDeviceListResp
  14. AccountDeviceVo = pb.AccountDeviceVo
  15. AccountListReq = pb.AccountListReq
  16. AccountListResp = pb.AccountListResp
  17. AccountVo = pb.AccountVo
  18. AdGlobalConfigGetReq = pb.AdGlobalConfigGetReq
  19. AdGlobalConfigVo = pb.AdGlobalConfigVo
  20. AdPlanDetailListReq = pb.AdPlanDetailListReq
  21. AdPlanDetailListResp = pb.AdPlanDetailListResp
  22. AdPlanDetailVo = pb.AdPlanDetailVo
  23. AdPlanListReq = pb.AdPlanListReq
  24. AdPlanListResp = pb.AdPlanListResp
  25. AdPlanVo = pb.AdPlanVo
  26. AnnouncePlanDetailListReq = pb.AnnouncePlanDetailListReq
  27. AnnouncePlanDetailListResp = pb.AnnouncePlanDetailListResp
  28. AnnouncePlanDetailVo = pb.AnnouncePlanDetailVo
  29. AnnouncePlanListReq = pb.AnnouncePlanListReq
  30. AnnouncePlanListResp = pb.AnnouncePlanListResp
  31. AnnouncePlanVo = pb.AnnouncePlanVo
  32. AreaParamListReq = pb.AreaParamListReq
  33. AreaParamListResp = pb.AreaParamListResp
  34. AreaParamVo = pb.AreaParamVo
  35. BaseReq = pb.BaseReq
  36. CommonResult = pb.CommonResult
  37. ConfigGetReq = pb.ConfigGetReq
  38. DeleteIdResp = pb.DeleteIdResp
  39. DeployConfigListReq = pb.DeployConfigListReq
  40. DeployConfigListResp = pb.DeployConfigListResp
  41. DeployConfigVo = pb.DeployConfigVo
  42. DeviceListReq = pb.DeviceListReq
  43. DeviceListRes = pb.DeviceListRes
  44. DeviceVo = pb.DeviceVo
  45. DictGetReq = pb.DictGetReq
  46. DictListReq = pb.DictListReq
  47. DictListResp = pb.DictListResp
  48. DictVo = pb.DictVo
  49. Empty = pb.Empty
  50. FindSchedulePublishListReq = pb.FindSchedulePublishListReq
  51. FindSchedulePublishListResp = pb.FindSchedulePublishListResp
  52. GameCategoryListReq = pb.GameCategoryListReq
  53. GameCategoryListRes = pb.GameCategoryListRes
  54. GameCategoryReq = pb.GameCategoryReq
  55. GameCategoryVo = pb.GameCategoryVo
  56. GameCustomerAddResp = pb.GameCustomerAddResp
  57. GameCustomerListReq = pb.GameCustomerListReq
  58. GameCustomerListRes = pb.GameCustomerListRes
  59. GameCustomerVo = pb.GameCustomerVo
  60. GameListReq = pb.GameListReq
  61. GameListRes = pb.GameListRes
  62. GameRankOption = pb.GameRankOption
  63. GameRedisHScanByNameReq = pb.GameRedisHScanByNameReq
  64. GameRedisHScanByNameResp = pb.GameRedisHScanByNameResp
  65. GameReq = pb.GameReq
  66. GameVo = pb.GameVo
  67. GlobalParamGetReq = pb.GlobalParamGetReq
  68. GlobalParamListReq = pb.GlobalParamListReq
  69. GlobalParamListResp = pb.GlobalParamListResp
  70. GlobalParamVo = pb.GlobalParamVo
  71. I18NVo = pb.I18NVo
  72. Ids = pb.Ids
  73. Int64SelectController = pb.Int64SelectController
  74. IntSelectController = pb.IntSelectController
  75. JobBatchListReq = pb.JobBatchListReq
  76. JobBatchListResp = pb.JobBatchListResp
  77. JobBatchListWithTasksResp = pb.JobBatchListWithTasksResp
  78. JobBatchVo = pb.JobBatchVo
  79. JobBatchWithTasksVo = pb.JobBatchWithTasksVo
  80. JobTasksListReq = pb.JobTasksListReq
  81. JobTasksListResp = pb.JobTasksListResp
  82. JobTasksVo = pb.JobTasksVo
  83. MessagePushListReq = pb.MessagePushListReq
  84. MessagePushListResp = pb.MessagePushListResp
  85. MessagePushVo = pb.MessagePushVo
  86. NationalLanguageListReq = pb.NationalLanguageListReq
  87. NationalLanguageListResp = pb.NationalLanguageListResp
  88. NationalLanguageVo = pb.NationalLanguageVo
  89. OperationLogListReq = pb.OperationLogListReq
  90. OperationLogListResp = pb.OperationLogListResp
  91. OperationLogVo = pb.OperationLogVo
  92. Page = pb.Page
  93. Page_OrderItem = pb.Page_OrderItem
  94. ProductActionGroupDisableReq = pb.ProductActionGroupDisableReq
  95. ProductActionGroupEnableReq = pb.ProductActionGroupEnableReq
  96. ProductActionGroupListReq = pb.ProductActionGroupListReq
  97. ProductActionGroupListResp = pb.ProductActionGroupListResp
  98. ProductActionGroupReq = pb.ProductActionGroupReq
  99. ProductActionGroupVo = pb.ProductActionGroupVo
  100. ProductActionListReq = pb.ProductActionListReq
  101. ProductActionListResp = pb.ProductActionListResp
  102. ProductActionPolicyGroupDisableReq = pb.ProductActionPolicyGroupDisableReq
  103. ProductActionPolicyGroupEnableReq = pb.ProductActionPolicyGroupEnableReq
  104. ProductActionPolicyGroupListReq = pb.ProductActionPolicyGroupListReq
  105. ProductActionPolicyGroupListResp = pb.ProductActionPolicyGroupListResp
  106. ProductActionPolicyGroupReq = pb.ProductActionPolicyGroupReq
  107. ProductActionPolicyGroupVo = pb.ProductActionPolicyGroupVo
  108. ProductActionReq = pb.ProductActionReq
  109. ProductActionTypeListReq = pb.ProductActionTypeListReq
  110. ProductActionTypeListResp = pb.ProductActionTypeListResp
  111. ProductActionTypeReq = pb.ProductActionTypeReq
  112. ProductActionTypeVo = pb.ProductActionTypeVo
  113. ProductActionVo = pb.ProductActionVo
  114. ProductListReq = pb.ProductListReq
  115. ProductListResp = pb.ProductListResp
  116. ProductParamGetReq = pb.ProductParamGetReq
  117. ProductParamListReq = pb.ProductParamListReq
  118. ProductParamListResp = pb.ProductParamListResp
  119. ProductParamVo = pb.ProductParamVo
  120. ProductVo = pb.ProductVo
  121. PublishScheduleDramaReq = pb.PublishScheduleDramaReq
  122. RelGameRankListReq = pb.RelGameRankListReq
  123. RelGameRankListRes = pb.RelGameRankListRes
  124. RelGameRankReq = pb.RelGameRankReq
  125. RelGameRankVo = pb.RelGameRankVo
  126. RelGameVpnGroupListReq = pb.RelGameVpnGroupListReq
  127. RelGameVpnGroupListRes = pb.RelGameVpnGroupListRes
  128. RelGameVpnGroupReq = pb.RelGameVpnGroupReq
  129. RelGameVpnGroupVo = pb.RelGameVpnGroupVo
  130. Request = pb.Request
  131. Response = pb.Response
  132. ServiceBoxAddReq = pb.ServiceBoxAddReq
  133. ServiceBoxAddResp = pb.ServiceBoxAddResp
  134. ServiceBoxAddWithDetailsReq = pb.ServiceBoxAddWithDetailsReq
  135. ServiceBoxAddWithDetailsResp = pb.ServiceBoxAddWithDetailsResp
  136. ServiceBoxDelReq = pb.ServiceBoxDelReq
  137. ServiceBoxGetReq = pb.ServiceBoxGetReq
  138. ServiceBoxGetResp = pb.ServiceBoxGetResp
  139. ServiceBoxGetWithDetailsReq = pb.ServiceBoxGetWithDetailsReq
  140. ServiceBoxGetWithDetailsResp = pb.ServiceBoxGetWithDetailsResp
  141. ServiceBoxListReq = pb.ServiceBoxListReq
  142. ServiceBoxListResp = pb.ServiceBoxListResp
  143. ServiceBoxTypesAddReq = pb.ServiceBoxTypesAddReq
  144. ServiceBoxTypesAddResp = pb.ServiceBoxTypesAddResp
  145. ServiceBoxTypesDelReq = pb.ServiceBoxTypesDelReq
  146. ServiceBoxTypesGetReq = pb.ServiceBoxTypesGetReq
  147. ServiceBoxTypesGetResp = pb.ServiceBoxTypesGetResp
  148. ServiceBoxTypesListReq = pb.ServiceBoxTypesListReq
  149. ServiceBoxTypesListResp = pb.ServiceBoxTypesListResp
  150. ServiceBoxTypesUpdateReq = pb.ServiceBoxTypesUpdateReq
  151. ServiceBoxTypesUpdateResp = pb.ServiceBoxTypesUpdateResp
  152. ServiceBoxTypesVo = pb.ServiceBoxTypesVo
  153. ServiceBoxUpdateReq = pb.ServiceBoxUpdateReq
  154. ServiceBoxUpdateResp = pb.ServiceBoxUpdateResp
  155. ServiceBoxUpdateWithDetailsReq = pb.ServiceBoxUpdateWithDetailsReq
  156. ServiceBoxUpdateWithDetailsResp = pb.ServiceBoxUpdateWithDetailsResp
  157. ServiceBoxVo = pb.ServiceBoxVo
  158. ServiceBoxWithDetailsVo = pb.ServiceBoxWithDetailsVo
  159. ServiceBoxWithDurationVo = pb.ServiceBoxWithDurationVo
  160. ServicePlanAddReq = pb.ServicePlanAddReq
  161. ServicePlanAddResp = pb.ServicePlanAddResp
  162. ServicePlanAddWithBoxesReq = pb.ServicePlanAddWithBoxesReq
  163. ServicePlanAddWithBoxesResp = pb.ServicePlanAddWithBoxesResp
  164. ServicePlanBoxesAddReq = pb.ServicePlanBoxesAddReq
  165. ServicePlanBoxesAddResp = pb.ServicePlanBoxesAddResp
  166. ServicePlanBoxesDelReq = pb.ServicePlanBoxesDelReq
  167. ServicePlanBoxesGetReq = pb.ServicePlanBoxesGetReq
  168. ServicePlanBoxesGetResp = pb.ServicePlanBoxesGetResp
  169. ServicePlanBoxesListReq = pb.ServicePlanBoxesListReq
  170. ServicePlanBoxesListResp = pb.ServicePlanBoxesListResp
  171. ServicePlanBoxesUpdateReq = pb.ServicePlanBoxesUpdateReq
  172. ServicePlanBoxesUpdateResp = pb.ServicePlanBoxesUpdateResp
  173. ServicePlanBoxesVo = pb.ServicePlanBoxesVo
  174. ServicePlanChannelAddReq = pb.ServicePlanChannelAddReq
  175. ServicePlanChannelAddResp = pb.ServicePlanChannelAddResp
  176. ServicePlanChannelDelReq = pb.ServicePlanChannelDelReq
  177. ServicePlanChannelGetReq = pb.ServicePlanChannelGetReq
  178. ServicePlanChannelGetResp = pb.ServicePlanChannelGetResp
  179. ServicePlanChannelListReq = pb.ServicePlanChannelListReq
  180. ServicePlanChannelListResp = pb.ServicePlanChannelListResp
  181. ServicePlanChannelUpdateReq = pb.ServicePlanChannelUpdateReq
  182. ServicePlanChannelUpdateResp = pb.ServicePlanChannelUpdateResp
  183. ServicePlanChannelVo = pb.ServicePlanChannelVo
  184. ServicePlanDelReq = pb.ServicePlanDelReq
  185. ServicePlanGetReq = pb.ServicePlanGetReq
  186. ServicePlanGetResp = pb.ServicePlanGetResp
  187. ServicePlanGetWithBoxesReq = pb.ServicePlanGetWithBoxesReq
  188. ServicePlanGetWithBoxesResp = pb.ServicePlanGetWithBoxesResp
  189. ServicePlanListReq = pb.ServicePlanListReq
  190. ServicePlanListResp = pb.ServicePlanListResp
  191. ServicePlanListWithBoxesReq = pb.ServicePlanListWithBoxesReq
  192. ServicePlanListWithBoxesResp = pb.ServicePlanListWithBoxesResp
  193. ServicePlanUpdateReq = pb.ServicePlanUpdateReq
  194. ServicePlanUpdateResp = pb.ServicePlanUpdateResp
  195. ServicePlanUpdateWithBoxesReq = pb.ServicePlanUpdateWithBoxesReq
  196. ServicePlanUpdateWithBoxesResp = pb.ServicePlanUpdateWithBoxesResp
  197. ServicePlanVo = pb.ServicePlanVo
  198. ServicePlanWithBoxesVo = pb.ServicePlanWithBoxesVo
  199. ServiceTypesAddReq = pb.ServiceTypesAddReq
  200. ServiceTypesAddResp = pb.ServiceTypesAddResp
  201. ServiceTypesDelReq = pb.ServiceTypesDelReq
  202. ServiceTypesGetReq = pb.ServiceTypesGetReq
  203. ServiceTypesGetResp = pb.ServiceTypesGetResp
  204. ServiceTypesListReq = pb.ServiceTypesListReq
  205. ServiceTypesListResp = pb.ServiceTypesListResp
  206. ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq
  207. ServiceTypesUpdateResp = pb.ServiceTypesUpdateResp
  208. ServiceTypesVo = pb.ServiceTypesVo
  209. ServiceTypesWithValueVo = pb.ServiceTypesWithValueVo
  210. SetTotalStatsReq = pb.SetTotalStatsReq
  211. ShortDramaCheckNameReq = pb.ShortDramaCheckNameReq
  212. ShortDramaCheckNameResp = pb.ShortDramaCheckNameResp
  213. ShortDramaCopyrightInfoVo = pb.ShortDramaCopyrightInfoVo
  214. ShortDramaEpisodeBatchAddReq = pb.ShortDramaEpisodeBatchAddReq
  215. ShortDramaEpisodeBatchRefreshUpdateTimeReq = pb.ShortDramaEpisodeBatchRefreshUpdateTimeReq
  216. ShortDramaEpisodeCountReq = pb.ShortDramaEpisodeCountReq
  217. ShortDramaEpisodeCountResp = pb.ShortDramaEpisodeCountResp
  218. ShortDramaEpisodeCountVo = pb.ShortDramaEpisodeCountVo
  219. ShortDramaEpisodeGetReq = pb.ShortDramaEpisodeGetReq
  220. ShortDramaEpisodeListReq = pb.ShortDramaEpisodeListReq
  221. ShortDramaEpisodeListResp = pb.ShortDramaEpisodeListResp
  222. ShortDramaEpisodeVo = pb.ShortDramaEpisodeVo
  223. ShortDramaFindIdsWithCopyrightResp = pb.ShortDramaFindIdsWithCopyrightResp
  224. ShortDramaGetReq = pb.ShortDramaGetReq
  225. ShortDramaLanguageListReq = pb.ShortDramaLanguageListReq
  226. ShortDramaLanguageListResp = pb.ShortDramaLanguageListResp
  227. ShortDramaLanguageVo = pb.ShortDramaLanguageVo
  228. ShortDramaListReq = pb.ShortDramaListReq
  229. ShortDramaListResp = pb.ShortDramaListResp
  230. ShortDramaStatsPlaysTotalListReq = pb.ShortDramaStatsPlaysTotalListReq
  231. ShortDramaStatsPlaysTotalListResp = pb.ShortDramaStatsPlaysTotalListResp
  232. ShortDramaStatsPlaysTotalVo = pb.ShortDramaStatsPlaysTotalVo
  233. ShortDramaUpdateModifierReq = pb.ShortDramaUpdateModifierReq
  234. ShortDramaUpdateReleaseRegionsReq = pb.ShortDramaUpdateReleaseRegionsReq
  235. ShortDramaVo = pb.ShortDramaVo
  236. StringSelectController = pb.StringSelectController
  237. SysPermGetReq = pb.SysPermGetReq
  238. SysPermListReq = pb.SysPermListReq
  239. SysPermListResp = pb.SysPermListResp
  240. SysPermRule = pb.SysPermRule
  241. SysPermVo = pb.SysPermVo
  242. SysRoleGetReq = pb.SysRoleGetReq
  243. SysRoleListReq = pb.SysRoleListReq
  244. SysRoleListResp = pb.SysRoleListResp
  245. SysRoleListWithPermsResp = pb.SysRoleListWithPermsResp
  246. SysRolePermGetReq = pb.SysRolePermGetReq
  247. SysRolePermListReq = pb.SysRolePermListReq
  248. SysRolePermListResp = pb.SysRolePermListResp
  249. SysRolePermVo = pb.SysRolePermVo
  250. SysRoleVo = pb.SysRoleVo
  251. SysRoleWithPermIds = pb.SysRoleWithPermIds
  252. SysRoleWithPerms = pb.SysRoleWithPerms
  253. SysUserGetReq = pb.SysUserGetReq
  254. SysUserListReq = pb.SysUserListReq
  255. SysUserListResp = pb.SysUserListResp
  256. SysUserListWithRolesAndPermsResp = pb.SysUserListWithRolesAndPermsResp
  257. SysUserPermGetReq = pb.SysUserPermGetReq
  258. SysUserPermListReq = pb.SysUserPermListReq
  259. SysUserPermListResp = pb.SysUserPermListResp
  260. SysUserPermVo = pb.SysUserPermVo
  261. SysUserRoleGetReq = pb.SysUserRoleGetReq
  262. SysUserRoleListReq = pb.SysUserRoleListReq
  263. SysUserRoleListResp = pb.SysUserRoleListResp
  264. SysUserRoleVo = pb.SysUserRoleVo
  265. SysUserVo = pb.SysUserVo
  266. SysUserWithRoleIdsAndPermRules = pb.SysUserWithRoleIdsAndPermRules
  267. SysUserWithRolesAndPerms = pb.SysUserWithRolesAndPerms
  268. TimeRange = pb.TimeRange
  269. TipGetReq = pb.TipGetReq
  270. TipListReq = pb.TipListReq
  271. TipListResp = pb.TipListResp
  272. TipVo = pb.TipVo
  273. TransactionOperation = pb.TransactionOperation
  274. TransactionReq = pb.TransactionReq
  275. UpgradePkgPlanDetailListReq = pb.UpgradePkgPlanDetailListReq
  276. UpgradePkgPlanDetailListResp = pb.UpgradePkgPlanDetailListResp
  277. UpgradePkgPlanDetailVo = pb.UpgradePkgPlanDetailVo
  278. UpgradePkgPlanListReq = pb.UpgradePkgPlanListReq
  279. UpgradePkgPlanListResp = pb.UpgradePkgPlanListResp
  280. UpgradePkgPlanVo = pb.UpgradePkgPlanVo
  281. UpgradeResPlanDetailListReq = pb.UpgradeResPlanDetailListReq
  282. UpgradeResPlanDetailListResp = pb.UpgradeResPlanDetailListResp
  283. UpgradeResPlanDetailVo = pb.UpgradeResPlanDetailVo
  284. UpgradeResPlanListReq = pb.UpgradeResPlanListReq
  285. UpgradeResPlanListResp = pb.UpgradeResPlanListResp
  286. UpgradeResPlanVo = pb.UpgradeResPlanVo
  287. UserAddReq = pb.UserAddReq
  288. UserAddResp = pb.UserAddResp
  289. UserAppConfigGetReq = pb.UserAppConfigGetReq
  290. UserAppConfigListReq = pb.UserAppConfigListReq
  291. UserAppConfigListRes = pb.UserAppConfigListRes
  292. UserAppConfigVo = pb.UserAppConfigVo
  293. UserCredentialAddReq = pb.UserCredentialAddReq
  294. UserCredentialAddResp = pb.UserCredentialAddResp
  295. UserCredentialDelReq = pb.UserCredentialDelReq
  296. UserCredentialGetReq = pb.UserCredentialGetReq
  297. UserCredentialGetResp = pb.UserCredentialGetResp
  298. UserCredentialListReq = pb.UserCredentialListReq
  299. UserCredentialListResp = pb.UserCredentialListResp
  300. UserCredentialUpdateReq = pb.UserCredentialUpdateReq
  301. UserCredentialUpdateResp = pb.UserCredentialUpdateResp
  302. UserCredentialVo = pb.UserCredentialVo
  303. UserDelReq = pb.UserDelReq
  304. UserDeviceAddReq = pb.UserDeviceAddReq
  305. UserDeviceAddResp = pb.UserDeviceAddResp
  306. UserDeviceDelReq = pb.UserDeviceDelReq
  307. UserDeviceGetReq = pb.UserDeviceGetReq
  308. UserDeviceGetResp = pb.UserDeviceGetResp
  309. UserDeviceListReq = pb.UserDeviceListReq
  310. UserDeviceListResp = pb.UserDeviceListResp
  311. UserDeviceUpdateReq = pb.UserDeviceUpdateReq
  312. UserDeviceUpdateResp = pb.UserDeviceUpdateResp
  313. UserDeviceVo = pb.UserDeviceVo
  314. UserGetReq = pb.UserGetReq
  315. UserGetResp = pb.UserGetResp
  316. UserListReq = pb.UserListReq
  317. UserListResp = pb.UserListResp
  318. UserServiceAddReq = pb.UserServiceAddReq
  319. UserServiceAddResp = pb.UserServiceAddResp
  320. UserServiceDelReq = pb.UserServiceDelReq
  321. UserServiceGetReq = pb.UserServiceGetReq
  322. UserServiceGetResp = pb.UserServiceGetResp
  323. UserServiceListReq = pb.UserServiceListReq
  324. UserServiceListResp = pb.UserServiceListResp
  325. UserServiceUpdateReq = pb.UserServiceUpdateReq
  326. UserServiceUpdateResp = pb.UserServiceUpdateResp
  327. UserServiceVo = pb.UserServiceVo
  328. UserTestAddReq = pb.UserTestAddReq
  329. UserTestAddResp = pb.UserTestAddResp
  330. UserTestDelReq = pb.UserTestDelReq
  331. UserTestGetReq = pb.UserTestGetReq
  332. UserTestGetResp = pb.UserTestGetResp
  333. UserTestListReq = pb.UserTestListReq
  334. UserTestListResp = pb.UserTestListResp
  335. UserTestUpdateReq = pb.UserTestUpdateReq
  336. UserTestUpdateResp = pb.UserTestUpdateResp
  337. UserTestVo = pb.UserTestVo
  338. UserUpdateReq = pb.UserUpdateReq
  339. UserUpdateResp = pb.UserUpdateResp
  340. UserVo = pb.UserVo
  341. UserWhiteAddReq = pb.UserWhiteAddReq
  342. UserWhiteAddResp = pb.UserWhiteAddResp
  343. UserWhiteDelReq = pb.UserWhiteDelReq
  344. UserWhiteGetReq = pb.UserWhiteGetReq
  345. UserWhiteGetResp = pb.UserWhiteGetResp
  346. UserWhiteListReq = pb.UserWhiteListReq
  347. UserWhiteListResp = pb.UserWhiteListResp
  348. UserWhiteUpdateReq = pb.UserWhiteUpdateReq
  349. UserWhiteUpdateResp = pb.UserWhiteUpdateResp
  350. UserWhiteVo = pb.UserWhiteVo
  351. VpnConfigTemplatePlanAddReq = pb.VpnConfigTemplatePlanAddReq
  352. VpnConfigTemplatePlanAddResp = pb.VpnConfigTemplatePlanAddResp
  353. VpnConfigTemplatePlanDelReq = pb.VpnConfigTemplatePlanDelReq
  354. VpnConfigTemplatePlanDetailAddReq = pb.VpnConfigTemplatePlanDetailAddReq
  355. VpnConfigTemplatePlanDetailAddResp = pb.VpnConfigTemplatePlanDetailAddResp
  356. VpnConfigTemplatePlanDetailDelReq = pb.VpnConfigTemplatePlanDetailDelReq
  357. VpnConfigTemplatePlanDetailGetReq = pb.VpnConfigTemplatePlanDetailGetReq
  358. VpnConfigTemplatePlanDetailGetResp = pb.VpnConfigTemplatePlanDetailGetResp
  359. VpnConfigTemplatePlanDetailListReq = pb.VpnConfigTemplatePlanDetailListReq
  360. VpnConfigTemplatePlanDetailListResp = pb.VpnConfigTemplatePlanDetailListResp
  361. VpnConfigTemplatePlanDetailUpdateReq = pb.VpnConfigTemplatePlanDetailUpdateReq
  362. VpnConfigTemplatePlanDetailUpdateResp = pb.VpnConfigTemplatePlanDetailUpdateResp
  363. VpnConfigTemplatePlanDetailVo = pb.VpnConfigTemplatePlanDetailVo
  364. VpnConfigTemplatePlanGetReq = pb.VpnConfigTemplatePlanGetReq
  365. VpnConfigTemplatePlanGetResp = pb.VpnConfigTemplatePlanGetResp
  366. VpnConfigTemplatePlanListReq = pb.VpnConfigTemplatePlanListReq
  367. VpnConfigTemplatePlanListResp = pb.VpnConfigTemplatePlanListResp
  368. VpnConfigTemplatePlanUpdateReq = pb.VpnConfigTemplatePlanUpdateReq
  369. VpnConfigTemplatePlanUpdateResp = pb.VpnConfigTemplatePlanUpdateResp
  370. VpnConfigTemplatePlanVo = pb.VpnConfigTemplatePlanVo
  371. VpnGroupAddReq = pb.VpnGroupAddReq
  372. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  373. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  374. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  375. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  376. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  377. VpnGroupExVo = pb.VpnGroupExVo
  378. VpnGroupGetReq = pb.VpnGroupGetReq
  379. VpnGroupListReq = pb.VpnGroupListReq
  380. VpnGroupListResp = pb.VpnGroupListResp
  381. VpnGroupTagListReq = pb.VpnGroupTagListReq
  382. VpnGroupTagListResp = pb.VpnGroupTagListResp
  383. VpnGroupTagVo = pb.VpnGroupTagVo
  384. VpnGroupVo = pb.VpnGroupVo
  385. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  386. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  387. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  388. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  389. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  390. VpnLocationExVo = pb.VpnLocationExVo
  391. VpnLocationGetReq = pb.VpnLocationGetReq
  392. VpnLocationListReq = pb.VpnLocationListReq
  393. VpnLocationListResp = pb.VpnLocationListResp
  394. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  395. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  396. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  397. VpnLocationVo = pb.VpnLocationVo
  398. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  399. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  400. VpnProbeTaskVo = pb.VpnProbeTaskVo
  401. VpnServerAddReq = pb.VpnServerAddReq
  402. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  403. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  404. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  405. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  406. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  407. VpnServerExListResp = pb.VpnServerExListResp
  408. VpnServerExVo = pb.VpnServerExVo
  409. VpnServerListReq = pb.VpnServerListReq
  410. VpnServerListResp = pb.VpnServerListResp
  411. VpnServerLocationListReq = pb.VpnServerLocationListReq
  412. VpnServerLocationListResp = pb.VpnServerLocationListResp
  413. VpnServerLocationVo = pb.VpnServerLocationVo
  414. VpnServerVo = pb.VpnServerVo
  415. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  416. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  417. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  418. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  419. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  420. VpnTagGetReq = pb.VpnTagGetReq
  421. VpnTagListReq = pb.VpnTagListReq
  422. VpnTagListResp = pb.VpnTagListResp
  423. VpnTagVo = pb.VpnTagVo
  424. VpnWithIPAndPortReq = pb.VpnWithIPAndPortReq
  425. VpnWithIPAndPortResp = pb.VpnWithIPAndPortResp
  426. VpnipAddReq = pb.VpnipAddReq
  427. VpnipAddResp = pb.VpnipAddResp
  428. VpnipBatchAddReq = pb.VpnipBatchAddReq
  429. VpnipBatchAddResp = pb.VpnipBatchAddResp
  430. VpnipBatchUpdateReq = pb.VpnipBatchUpdateReq
  431. VpnipBatchUpdateResp = pb.VpnipBatchUpdateResp
  432. VpnipBindAddReq = pb.VpnipBindAddReq
  433. VpnipBindAddResp = pb.VpnipBindAddResp
  434. VpnipBindBatchAddReq = pb.VpnipBindBatchAddReq
  435. VpnipBindBatchAddResp = pb.VpnipBindBatchAddResp
  436. VpnipBindBatchUpdateReq = pb.VpnipBindBatchUpdateReq
  437. VpnipBindBatchUpdateResp = pb.VpnipBindBatchUpdateResp
  438. VpnipBindGetReq = pb.VpnipBindGetReq
  439. VpnipBindGetResp = pb.VpnipBindGetResp
  440. VpnipBindListReq = pb.VpnipBindListReq
  441. VpnipBindListResp = pb.VpnipBindListResp
  442. VpnipBindUpdateReq = pb.VpnipBindUpdateReq
  443. VpnipBindUpdateResp = pb.VpnipBindUpdateResp
  444. VpnipBindVo = pb.VpnipBindVo
  445. VpnipExAddReq = pb.VpnipExAddReq
  446. VpnipExAddResp = pb.VpnipExAddResp
  447. VpnipExBatchAddReq = pb.VpnipExBatchAddReq
  448. VpnipExBatchAddResp = pb.VpnipExBatchAddResp
  449. VpnipExBatchUpdateReq = pb.VpnipExBatchUpdateReq
  450. VpnipExBatchUpdateResp = pb.VpnipExBatchUpdateResp
  451. VpnipExGetResp = pb.VpnipExGetResp
  452. VpnipExListResp = pb.VpnipExListResp
  453. VpnipExUpdateReq = pb.VpnipExUpdateReq
  454. VpnipExUpdateResp = pb.VpnipExUpdateResp
  455. VpnipExVo = pb.VpnipExVo
  456. VpnipGetReq = pb.VpnipGetReq
  457. VpnipGetResp = pb.VpnipGetResp
  458. VpnipListReq = pb.VpnipListReq
  459. VpnipListResp = pb.VpnipListResp
  460. VpnipRangeAddReq = pb.VpnipRangeAddReq
  461. VpnipRangeAddResp = pb.VpnipRangeAddResp
  462. VpnipRangeBatchAddReq = pb.VpnipRangeBatchAddReq
  463. VpnipRangeBatchAddResp = pb.VpnipRangeBatchAddResp
  464. VpnipRangeBatchUpdateReq = pb.VpnipRangeBatchUpdateReq
  465. VpnipRangeBatchUpdateResp = pb.VpnipRangeBatchUpdateResp
  466. VpnipRangeExAddReq = pb.VpnipRangeExAddReq
  467. VpnipRangeExAddResp = pb.VpnipRangeExAddResp
  468. VpnipRangeExBatchAddReq = pb.VpnipRangeExBatchAddReq
  469. VpnipRangeExBatchAddResp = pb.VpnipRangeExBatchAddResp
  470. VpnipRangeExBatchUpdateReq = pb.VpnipRangeExBatchUpdateReq
  471. VpnipRangeExBatchUpdateResp = pb.VpnipRangeExBatchUpdateResp
  472. VpnipRangeExGetResp = pb.VpnipRangeExGetResp
  473. VpnipRangeExListResp = pb.VpnipRangeExListResp
  474. VpnipRangeExUpdateReq = pb.VpnipRangeExUpdateReq
  475. VpnipRangeExUpdateResp = pb.VpnipRangeExUpdateResp
  476. VpnipRangeExVo = pb.VpnipRangeExVo
  477. VpnipRangeGetReq = pb.VpnipRangeGetReq
  478. VpnipRangeGetResp = pb.VpnipRangeGetResp
  479. VpnipRangeListReq = pb.VpnipRangeListReq
  480. VpnipRangeListResp = pb.VpnipRangeListResp
  481. VpnipRangeUpdateReq = pb.VpnipRangeUpdateReq
  482. VpnipRangeUpdateResp = pb.VpnipRangeUpdateResp
  483. VpnipRangeVo = pb.VpnipRangeVo
  484. VpnipUpdateReq = pb.VpnipUpdateReq
  485. VpnipUpdateResp = pb.VpnipUpdateResp
  486. VpnipVo = pb.VpnipVo
  487. VpnipWalledAddReq = pb.VpnipWalledAddReq
  488. VpnipWalledAddResp = pb.VpnipWalledAddResp
  489. VpnipWalledBatchAddReq = pb.VpnipWalledBatchAddReq
  490. VpnipWalledBatchAddResp = pb.VpnipWalledBatchAddResp
  491. VpnipWalledBatchUpdateReq = pb.VpnipWalledBatchUpdateReq
  492. VpnipWalledBatchUpdateResp = pb.VpnipWalledBatchUpdateResp
  493. VpnipWalledGetReq = pb.VpnipWalledGetReq
  494. VpnipWalledGetResp = pb.VpnipWalledGetResp
  495. VpnipWalledListReq = pb.VpnipWalledListReq
  496. VpnipWalledListResp = pb.VpnipWalledListResp
  497. VpnipWalledUpdateReq = pb.VpnipWalledUpdateReq
  498. VpnipWalledUpdateResp = pb.VpnipWalledUpdateResp
  499. VpnipWalledVo = pb.VpnipWalledVo
  500. GoUserClient interface {
  501. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  502. // 用户app配置管理(ring)
  503. UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  504. UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  505. UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  506. UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  507. UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error)
  508. // Device Model
  509. DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  510. DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  511. DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  512. DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  513. DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
  514. // Account Model
  515. AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  516. AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  517. AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  518. AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  519. AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error)
  520. // AccountDevice Model
  521. AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  522. AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  523. AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  524. AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  525. AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
  526. // 用户白名单管理
  527. UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error)
  528. UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error)
  529. UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error)
  530. UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error)
  531. UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error)
  532. // 测试用户管理
  533. UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error)
  534. UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error)
  535. UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error)
  536. UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error)
  537. UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error)
  538. // User Model
  539. UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error)
  540. UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error)
  541. UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error)
  542. UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error)
  543. UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error)
  544. // UserCredential Model
  545. UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error)
  546. UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error)
  547. UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error)
  548. UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error)
  549. UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error)
  550. // UserDevice Model
  551. UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error)
  552. UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error)
  553. UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error)
  554. UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error)
  555. UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error)
  556. // UserService
  557. UserServiceAdd(ctx context.Context, in *UserServiceAddReq, opts ...grpc.CallOption) (*UserServiceAddResp, error)
  558. UserServiceUpdate(ctx context.Context, in *UserServiceUpdateReq, opts ...grpc.CallOption) (*UserServiceUpdateResp, error)
  559. UserServiceDel(ctx context.Context, in *UserServiceDelReq, opts ...grpc.CallOption) (*Empty, error)
  560. UserServiceGet(ctx context.Context, in *UserServiceGetReq, opts ...grpc.CallOption) (*UserServiceGetResp, error)
  561. UserServiceList(ctx context.Context, in *UserServiceListReq, opts ...grpc.CallOption) (*UserServiceListResp, error)
  562. }
  563. defaultGoUserClient struct {
  564. cli zrpc.Client
  565. }
  566. )
  567. func NewGoUserClient(cli zrpc.Client) GoUserClient {
  568. return &defaultGoUserClient{
  569. cli: cli,
  570. }
  571. }
  572. func (m *defaultGoUserClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  573. client := pb.NewGoUserClientClient(m.cli.Conn())
  574. return client.Ping(ctx, in, opts...)
  575. }
  576. // 用户app配置管理(ring)
  577. func (m *defaultGoUserClient) UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  578. client := pb.NewGoUserClientClient(m.cli.Conn())
  579. return client.UserAppConfigAdd(ctx, in, opts...)
  580. }
  581. func (m *defaultGoUserClient) UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  582. client := pb.NewGoUserClientClient(m.cli.Conn())
  583. return client.UserAppConfigUpdate(ctx, in, opts...)
  584. }
  585. func (m *defaultGoUserClient) UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  586. client := pb.NewGoUserClientClient(m.cli.Conn())
  587. return client.UserAppConfigDel(ctx, in, opts...)
  588. }
  589. func (m *defaultGoUserClient) UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  590. client := pb.NewGoUserClientClient(m.cli.Conn())
  591. return client.UserAppConfigGet(ctx, in, opts...)
  592. }
  593. func (m *defaultGoUserClient) UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error) {
  594. client := pb.NewGoUserClientClient(m.cli.Conn())
  595. return client.UserAppConfigList(ctx, in, opts...)
  596. }
  597. // Device Model
  598. func (m *defaultGoUserClient) DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  599. client := pb.NewGoUserClientClient(m.cli.Conn())
  600. return client.DeviceAdd(ctx, in, opts...)
  601. }
  602. func (m *defaultGoUserClient) DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  603. client := pb.NewGoUserClientClient(m.cli.Conn())
  604. return client.DeviceUpdate(ctx, in, opts...)
  605. }
  606. func (m *defaultGoUserClient) DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  607. client := pb.NewGoUserClientClient(m.cli.Conn())
  608. return client.DeviceDel(ctx, in, opts...)
  609. }
  610. func (m *defaultGoUserClient) DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  611. client := pb.NewGoUserClientClient(m.cli.Conn())
  612. return client.DeviceGet(ctx, in, opts...)
  613. }
  614. func (m *defaultGoUserClient) DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error) {
  615. client := pb.NewGoUserClientClient(m.cli.Conn())
  616. return client.DeviceList(ctx, in, opts...)
  617. }
  618. // Account Model
  619. func (m *defaultGoUserClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  620. client := pb.NewGoUserClientClient(m.cli.Conn())
  621. return client.AccountAdd(ctx, in, opts...)
  622. }
  623. func (m *defaultGoUserClient) AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  624. client := pb.NewGoUserClientClient(m.cli.Conn())
  625. return client.AccountUpdate(ctx, in, opts...)
  626. }
  627. func (m *defaultGoUserClient) AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  628. client := pb.NewGoUserClientClient(m.cli.Conn())
  629. return client.AccountDel(ctx, in, opts...)
  630. }
  631. func (m *defaultGoUserClient) AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  632. client := pb.NewGoUserClientClient(m.cli.Conn())
  633. return client.AccountGet(ctx, in, opts...)
  634. }
  635. func (m *defaultGoUserClient) AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error) {
  636. client := pb.NewGoUserClientClient(m.cli.Conn())
  637. return client.AccountList(ctx, in, opts...)
  638. }
  639. // AccountDevice Model
  640. func (m *defaultGoUserClient) AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  641. client := pb.NewGoUserClientClient(m.cli.Conn())
  642. return client.AccountDeviceAdd(ctx, in, opts...)
  643. }
  644. func (m *defaultGoUserClient) AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  645. client := pb.NewGoUserClientClient(m.cli.Conn())
  646. return client.AccountDeviceUpdate(ctx, in, opts...)
  647. }
  648. func (m *defaultGoUserClient) AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  649. client := pb.NewGoUserClientClient(m.cli.Conn())
  650. return client.AccountDeviceDel(ctx, in, opts...)
  651. }
  652. func (m *defaultGoUserClient) AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  653. client := pb.NewGoUserClientClient(m.cli.Conn())
  654. return client.AccountDeviceGet(ctx, in, opts...)
  655. }
  656. func (m *defaultGoUserClient) AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error) {
  657. client := pb.NewGoUserClientClient(m.cli.Conn())
  658. return client.AccountDeviceList(ctx, in, opts...)
  659. }
  660. // 用户白名单管理
  661. func (m *defaultGoUserClient) UserWhiteAdd(ctx context.Context, in *UserWhiteAddReq, opts ...grpc.CallOption) (*UserWhiteAddResp, error) {
  662. client := pb.NewGoUserClientClient(m.cli.Conn())
  663. return client.UserWhiteAdd(ctx, in, opts...)
  664. }
  665. func (m *defaultGoUserClient) UserWhiteUpdate(ctx context.Context, in *UserWhiteUpdateReq, opts ...grpc.CallOption) (*UserWhiteUpdateResp, error) {
  666. client := pb.NewGoUserClientClient(m.cli.Conn())
  667. return client.UserWhiteUpdate(ctx, in, opts...)
  668. }
  669. func (m *defaultGoUserClient) UserWhiteDel(ctx context.Context, in *UserWhiteDelReq, opts ...grpc.CallOption) (*Empty, error) {
  670. client := pb.NewGoUserClientClient(m.cli.Conn())
  671. return client.UserWhiteDel(ctx, in, opts...)
  672. }
  673. func (m *defaultGoUserClient) UserWhiteGet(ctx context.Context, in *UserWhiteGetReq, opts ...grpc.CallOption) (*UserWhiteGetResp, error) {
  674. client := pb.NewGoUserClientClient(m.cli.Conn())
  675. return client.UserWhiteGet(ctx, in, opts...)
  676. }
  677. func (m *defaultGoUserClient) UserWhiteList(ctx context.Context, in *UserWhiteListReq, opts ...grpc.CallOption) (*UserWhiteListResp, error) {
  678. client := pb.NewGoUserClientClient(m.cli.Conn())
  679. return client.UserWhiteList(ctx, in, opts...)
  680. }
  681. // 测试用户管理
  682. func (m *defaultGoUserClient) UserTestAdd(ctx context.Context, in *UserTestAddReq, opts ...grpc.CallOption) (*UserTestAddResp, error) {
  683. client := pb.NewGoUserClientClient(m.cli.Conn())
  684. return client.UserTestAdd(ctx, in, opts...)
  685. }
  686. func (m *defaultGoUserClient) UserTestUpdate(ctx context.Context, in *UserTestUpdateReq, opts ...grpc.CallOption) (*UserTestUpdateResp, error) {
  687. client := pb.NewGoUserClientClient(m.cli.Conn())
  688. return client.UserTestUpdate(ctx, in, opts...)
  689. }
  690. func (m *defaultGoUserClient) UserTestDel(ctx context.Context, in *UserTestDelReq, opts ...grpc.CallOption) (*Empty, error) {
  691. client := pb.NewGoUserClientClient(m.cli.Conn())
  692. return client.UserTestDel(ctx, in, opts...)
  693. }
  694. func (m *defaultGoUserClient) UserTestGet(ctx context.Context, in *UserTestGetReq, opts ...grpc.CallOption) (*UserTestGetResp, error) {
  695. client := pb.NewGoUserClientClient(m.cli.Conn())
  696. return client.UserTestGet(ctx, in, opts...)
  697. }
  698. func (m *defaultGoUserClient) UserTestList(ctx context.Context, in *UserTestListReq, opts ...grpc.CallOption) (*UserTestListResp, error) {
  699. client := pb.NewGoUserClientClient(m.cli.Conn())
  700. return client.UserTestList(ctx, in, opts...)
  701. }
  702. // User Model
  703. func (m *defaultGoUserClient) UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error) {
  704. client := pb.NewGoUserClientClient(m.cli.Conn())
  705. return client.UserAdd(ctx, in, opts...)
  706. }
  707. func (m *defaultGoUserClient) UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*UserUpdateResp, error) {
  708. client := pb.NewGoUserClientClient(m.cli.Conn())
  709. return client.UserUpdate(ctx, in, opts...)
  710. }
  711. func (m *defaultGoUserClient) UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*Empty, error) {
  712. client := pb.NewGoUserClientClient(m.cli.Conn())
  713. return client.UserDel(ctx, in, opts...)
  714. }
  715. func (m *defaultGoUserClient) UserGet(ctx context.Context, in *UserGetReq, opts ...grpc.CallOption) (*UserGetResp, error) {
  716. client := pb.NewGoUserClientClient(m.cli.Conn())
  717. return client.UserGet(ctx, in, opts...)
  718. }
  719. func (m *defaultGoUserClient) UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error) {
  720. client := pb.NewGoUserClientClient(m.cli.Conn())
  721. return client.UserList(ctx, in, opts...)
  722. }
  723. // UserCredential Model
  724. func (m *defaultGoUserClient) UserCredentialAdd(ctx context.Context, in *UserCredentialAddReq, opts ...grpc.CallOption) (*UserCredentialAddResp, error) {
  725. client := pb.NewGoUserClientClient(m.cli.Conn())
  726. return client.UserCredentialAdd(ctx, in, opts...)
  727. }
  728. func (m *defaultGoUserClient) UserCredentialUpdate(ctx context.Context, in *UserCredentialUpdateReq, opts ...grpc.CallOption) (*UserCredentialUpdateResp, error) {
  729. client := pb.NewGoUserClientClient(m.cli.Conn())
  730. return client.UserCredentialUpdate(ctx, in, opts...)
  731. }
  732. func (m *defaultGoUserClient) UserCredentialDel(ctx context.Context, in *UserCredentialDelReq, opts ...grpc.CallOption) (*Empty, error) {
  733. client := pb.NewGoUserClientClient(m.cli.Conn())
  734. return client.UserCredentialDel(ctx, in, opts...)
  735. }
  736. func (m *defaultGoUserClient) UserCredentialGet(ctx context.Context, in *UserCredentialGetReq, opts ...grpc.CallOption) (*UserCredentialGetResp, error) {
  737. client := pb.NewGoUserClientClient(m.cli.Conn())
  738. return client.UserCredentialGet(ctx, in, opts...)
  739. }
  740. func (m *defaultGoUserClient) UserCredentialList(ctx context.Context, in *UserCredentialListReq, opts ...grpc.CallOption) (*UserCredentialListResp, error) {
  741. client := pb.NewGoUserClientClient(m.cli.Conn())
  742. return client.UserCredentialList(ctx, in, opts...)
  743. }
  744. // UserDevice Model
  745. func (m *defaultGoUserClient) UserDeviceAdd(ctx context.Context, in *UserDeviceAddReq, opts ...grpc.CallOption) (*UserDeviceAddResp, error) {
  746. client := pb.NewGoUserClientClient(m.cli.Conn())
  747. return client.UserDeviceAdd(ctx, in, opts...)
  748. }
  749. func (m *defaultGoUserClient) UserDeviceUpdate(ctx context.Context, in *UserDeviceUpdateReq, opts ...grpc.CallOption) (*UserDeviceUpdateResp, error) {
  750. client := pb.NewGoUserClientClient(m.cli.Conn())
  751. return client.UserDeviceUpdate(ctx, in, opts...)
  752. }
  753. func (m *defaultGoUserClient) UserDeviceDel(ctx context.Context, in *UserDeviceDelReq, opts ...grpc.CallOption) (*Empty, error) {
  754. client := pb.NewGoUserClientClient(m.cli.Conn())
  755. return client.UserDeviceDel(ctx, in, opts...)
  756. }
  757. func (m *defaultGoUserClient) UserDeviceGet(ctx context.Context, in *UserDeviceGetReq, opts ...grpc.CallOption) (*UserDeviceGetResp, error) {
  758. client := pb.NewGoUserClientClient(m.cli.Conn())
  759. return client.UserDeviceGet(ctx, in, opts...)
  760. }
  761. func (m *defaultGoUserClient) UserDeviceList(ctx context.Context, in *UserDeviceListReq, opts ...grpc.CallOption) (*UserDeviceListResp, error) {
  762. client := pb.NewGoUserClientClient(m.cli.Conn())
  763. return client.UserDeviceList(ctx, in, opts...)
  764. }
  765. // UserService
  766. func (m *defaultGoUserClient) UserServiceAdd(ctx context.Context, in *UserServiceAddReq, opts ...grpc.CallOption) (*UserServiceAddResp, error) {
  767. client := pb.NewGoUserClientClient(m.cli.Conn())
  768. return client.UserServiceAdd(ctx, in, opts...)
  769. }
  770. func (m *defaultGoUserClient) UserServiceUpdate(ctx context.Context, in *UserServiceUpdateReq, opts ...grpc.CallOption) (*UserServiceUpdateResp, error) {
  771. client := pb.NewGoUserClientClient(m.cli.Conn())
  772. return client.UserServiceUpdate(ctx, in, opts...)
  773. }
  774. func (m *defaultGoUserClient) UserServiceDel(ctx context.Context, in *UserServiceDelReq, opts ...grpc.CallOption) (*Empty, error) {
  775. client := pb.NewGoUserClientClient(m.cli.Conn())
  776. return client.UserServiceDel(ctx, in, opts...)
  777. }
  778. func (m *defaultGoUserClient) UserServiceGet(ctx context.Context, in *UserServiceGetReq, opts ...grpc.CallOption) (*UserServiceGetResp, error) {
  779. client := pb.NewGoUserClientClient(m.cli.Conn())
  780. return client.UserServiceGet(ctx, in, opts...)
  781. }
  782. func (m *defaultGoUserClient) UserServiceList(ctx context.Context, in *UserServiceListReq, opts ...grpc.CallOption) (*UserServiceListResp, error) {
  783. client := pb.NewGoUserClientClient(m.cli.Conn())
  784. return client.UserServiceList(ctx, in, opts...)
  785. }