go_user_client.go 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. "git.goio.dev/pb/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. GameCategoryListReq = pb.GameCategoryListReq
  51. GameCategoryListRes = pb.GameCategoryListRes
  52. GameCategoryReq = pb.GameCategoryReq
  53. GameCategoryVo = pb.GameCategoryVo
  54. GameCustomerAddResp = pb.GameCustomerAddResp
  55. GameCustomerListReq = pb.GameCustomerListReq
  56. GameCustomerListRes = pb.GameCustomerListRes
  57. GameCustomerVo = pb.GameCustomerVo
  58. GameListReq = pb.GameListReq
  59. GameListRes = pb.GameListRes
  60. GameRedisHScanByNameReq = pb.GameRedisHScanByNameReq
  61. GameRedisHScanByNameResp = pb.GameRedisHScanByNameResp
  62. GameReq = pb.GameReq
  63. GameVo = pb.GameVo
  64. GlobalParamGetReq = pb.GlobalParamGetReq
  65. GlobalParamListReq = pb.GlobalParamListReq
  66. GlobalParamListResp = pb.GlobalParamListResp
  67. GlobalParamVo = pb.GlobalParamVo
  68. I18NVo = pb.I18NVo
  69. Ids = pb.Ids
  70. Int64SelectController = pb.Int64SelectController
  71. IntSelectController = pb.IntSelectController
  72. JobBatchListReq = pb.JobBatchListReq
  73. JobBatchListResp = pb.JobBatchListResp
  74. JobBatchListWithTasksResp = pb.JobBatchListWithTasksResp
  75. JobBatchVo = pb.JobBatchVo
  76. JobBatchWithTasksVo = pb.JobBatchWithTasksVo
  77. JobTasksListReq = pb.JobTasksListReq
  78. JobTasksListResp = pb.JobTasksListResp
  79. JobTasksVo = pb.JobTasksVo
  80. MessagePushListReq = pb.MessagePushListReq
  81. MessagePushListResp = pb.MessagePushListResp
  82. MessagePushVo = pb.MessagePushVo
  83. NationalLanguageListReq = pb.NationalLanguageListReq
  84. NationalLanguageListResp = pb.NationalLanguageListResp
  85. NationalLanguageVo = pb.NationalLanguageVo
  86. OperationLogListReq = pb.OperationLogListReq
  87. OperationLogListResp = pb.OperationLogListResp
  88. OperationLogVo = pb.OperationLogVo
  89. Page = pb.Page
  90. Page_OrderItem = pb.Page_OrderItem
  91. ProductActionListReq = pb.ProductActionListReq
  92. ProductActionListResp = pb.ProductActionListResp
  93. ProductActionReq = pb.ProductActionReq
  94. ProductActionVo = pb.ProductActionVo
  95. ProductListReq = pb.ProductListReq
  96. ProductListResp = pb.ProductListResp
  97. ProductParamGetReq = pb.ProductParamGetReq
  98. ProductParamListReq = pb.ProductParamListReq
  99. ProductParamListResp = pb.ProductParamListResp
  100. ProductParamVo = pb.ProductParamVo
  101. ProductVo = pb.ProductVo
  102. RelGameRankListReq = pb.RelGameRankListReq
  103. RelGameRankListRes = pb.RelGameRankListRes
  104. RelGameRankReq = pb.RelGameRankReq
  105. RelGameRankVo = pb.RelGameRankVo
  106. RelGameVpnGroupListReq = pb.RelGameVpnGroupListReq
  107. RelGameVpnGroupListRes = pb.RelGameVpnGroupListRes
  108. RelGameVpnGroupReq = pb.RelGameVpnGroupReq
  109. RelGameVpnGroupVo = pb.RelGameVpnGroupVo
  110. Request = pb.Request
  111. Response = pb.Response
  112. ServiceSetsAddReq = pb.ServiceSetsAddReq
  113. ServiceSetsDelReq = pb.ServiceSetsDelReq
  114. ServiceSetsGetReq = pb.ServiceSetsGetReq
  115. ServiceSetsListReq = pb.ServiceSetsListReq
  116. ServiceSetsListResp = pb.ServiceSetsListResp
  117. ServiceSetsUpdateReq = pb.ServiceSetsUpdateReq
  118. ServiceSetsVo = pb.ServiceSetsVo
  119. ServiceTypesAddReq = pb.ServiceTypesAddReq
  120. ServiceTypesDelReq = pb.ServiceTypesDelReq
  121. ServiceTypesGetReq = pb.ServiceTypesGetReq
  122. ServiceTypesListReq = pb.ServiceTypesListReq
  123. ServiceTypesListResp = pb.ServiceTypesListResp
  124. ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq
  125. ServiceTypesVo = pb.ServiceTypesVo
  126. SetTotalStatsReq = pb.SetTotalStatsReq
  127. ShortDramaCheckNameReq = pb.ShortDramaCheckNameReq
  128. ShortDramaCheckNameResp = pb.ShortDramaCheckNameResp
  129. ShortDramaEpisodeBatchAddReq = pb.ShortDramaEpisodeBatchAddReq
  130. ShortDramaEpisodeBatchRefreshUpdateTimeReq = pb.ShortDramaEpisodeBatchRefreshUpdateTimeReq
  131. ShortDramaEpisodeCountReq = pb.ShortDramaEpisodeCountReq
  132. ShortDramaEpisodeCountResp = pb.ShortDramaEpisodeCountResp
  133. ShortDramaEpisodeCountVo = pb.ShortDramaEpisodeCountVo
  134. ShortDramaEpisodeGetReq = pb.ShortDramaEpisodeGetReq
  135. ShortDramaEpisodeListReq = pb.ShortDramaEpisodeListReq
  136. ShortDramaEpisodeListResp = pb.ShortDramaEpisodeListResp
  137. ShortDramaEpisodeVo = pb.ShortDramaEpisodeVo
  138. ShortDramaGetReq = pb.ShortDramaGetReq
  139. ShortDramaLanguageListReq = pb.ShortDramaLanguageListReq
  140. ShortDramaLanguageListResp = pb.ShortDramaLanguageListResp
  141. ShortDramaLanguageVo = pb.ShortDramaLanguageVo
  142. ShortDramaListReq = pb.ShortDramaListReq
  143. ShortDramaListResp = pb.ShortDramaListResp
  144. ShortDramaStatsPlaysTotalListReq = pb.ShortDramaStatsPlaysTotalListReq
  145. ShortDramaStatsPlaysTotalListResp = pb.ShortDramaStatsPlaysTotalListResp
  146. ShortDramaStatsPlaysTotalVo = pb.ShortDramaStatsPlaysTotalVo
  147. ShortDramaUpdateModifierReq = pb.ShortDramaUpdateModifierReq
  148. ShortDramaVo = pb.ShortDramaVo
  149. StringSelectController = pb.StringSelectController
  150. SysPermGetReq = pb.SysPermGetReq
  151. SysPermListReq = pb.SysPermListReq
  152. SysPermListResp = pb.SysPermListResp
  153. SysPermRule = pb.SysPermRule
  154. SysPermVo = pb.SysPermVo
  155. SysRoleGetReq = pb.SysRoleGetReq
  156. SysRoleListReq = pb.SysRoleListReq
  157. SysRoleListResp = pb.SysRoleListResp
  158. SysRoleListWithPermsResp = pb.SysRoleListWithPermsResp
  159. SysRolePermGetReq = pb.SysRolePermGetReq
  160. SysRolePermListReq = pb.SysRolePermListReq
  161. SysRolePermListResp = pb.SysRolePermListResp
  162. SysRolePermVo = pb.SysRolePermVo
  163. SysRoleVo = pb.SysRoleVo
  164. SysRoleWithPermIds = pb.SysRoleWithPermIds
  165. SysRoleWithPerms = pb.SysRoleWithPerms
  166. SysUserGetReq = pb.SysUserGetReq
  167. SysUserListReq = pb.SysUserListReq
  168. SysUserListResp = pb.SysUserListResp
  169. SysUserListWithRolesAndPermsResp = pb.SysUserListWithRolesAndPermsResp
  170. SysUserPermGetReq = pb.SysUserPermGetReq
  171. SysUserPermListReq = pb.SysUserPermListReq
  172. SysUserPermListResp = pb.SysUserPermListResp
  173. SysUserPermVo = pb.SysUserPermVo
  174. SysUserRoleGetReq = pb.SysUserRoleGetReq
  175. SysUserRoleListReq = pb.SysUserRoleListReq
  176. SysUserRoleListResp = pb.SysUserRoleListResp
  177. SysUserRoleVo = pb.SysUserRoleVo
  178. SysUserVo = pb.SysUserVo
  179. SysUserWithRoleIdsAndPermRules = pb.SysUserWithRoleIdsAndPermRules
  180. SysUserWithRolesAndPerms = pb.SysUserWithRolesAndPerms
  181. TimeRange = pb.TimeRange
  182. TipGetReq = pb.TipGetReq
  183. TipListReq = pb.TipListReq
  184. TipListResp = pb.TipListResp
  185. TipVo = pb.TipVo
  186. TransactionOperation = pb.TransactionOperation
  187. TransactionReq = pb.TransactionReq
  188. UpgradePkgPlanDetailListReq = pb.UpgradePkgPlanDetailListReq
  189. UpgradePkgPlanDetailListResp = pb.UpgradePkgPlanDetailListResp
  190. UpgradePkgPlanDetailVo = pb.UpgradePkgPlanDetailVo
  191. UpgradePkgPlanListReq = pb.UpgradePkgPlanListReq
  192. UpgradePkgPlanListResp = pb.UpgradePkgPlanListResp
  193. UpgradePkgPlanVo = pb.UpgradePkgPlanVo
  194. UpgradeResPlanDetailListReq = pb.UpgradeResPlanDetailListReq
  195. UpgradeResPlanDetailListResp = pb.UpgradeResPlanDetailListResp
  196. UpgradeResPlanDetailVo = pb.UpgradeResPlanDetailVo
  197. UpgradeResPlanListReq = pb.UpgradeResPlanListReq
  198. UpgradeResPlanListResp = pb.UpgradeResPlanListResp
  199. UpgradeResPlanVo = pb.UpgradeResPlanVo
  200. UserAppConfigGetReq = pb.UserAppConfigGetReq
  201. UserAppConfigListReq = pb.UserAppConfigListReq
  202. UserAppConfigListRes = pb.UserAppConfigListRes
  203. UserAppConfigVo = pb.UserAppConfigVo
  204. VpnGroupAddReq = pb.VpnGroupAddReq
  205. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  206. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  207. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  208. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  209. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  210. VpnGroupExVo = pb.VpnGroupExVo
  211. VpnGroupGetReq = pb.VpnGroupGetReq
  212. VpnGroupListReq = pb.VpnGroupListReq
  213. VpnGroupListResp = pb.VpnGroupListResp
  214. VpnGroupTagListReq = pb.VpnGroupTagListReq
  215. VpnGroupTagListResp = pb.VpnGroupTagListResp
  216. VpnGroupTagVo = pb.VpnGroupTagVo
  217. VpnGroupVo = pb.VpnGroupVo
  218. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  219. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  220. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  221. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  222. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  223. VpnLocationExVo = pb.VpnLocationExVo
  224. VpnLocationGetReq = pb.VpnLocationGetReq
  225. VpnLocationListReq = pb.VpnLocationListReq
  226. VpnLocationListResp = pb.VpnLocationListResp
  227. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  228. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  229. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  230. VpnLocationVo = pb.VpnLocationVo
  231. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  232. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  233. VpnProbeTaskVo = pb.VpnProbeTaskVo
  234. VpnServerAddReq = pb.VpnServerAddReq
  235. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  236. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  237. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  238. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  239. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  240. VpnServerExListResp = pb.VpnServerExListResp
  241. VpnServerExVo = pb.VpnServerExVo
  242. VpnServerListReq = pb.VpnServerListReq
  243. VpnServerListResp = pb.VpnServerListResp
  244. VpnServerLocationListReq = pb.VpnServerLocationListReq
  245. VpnServerLocationListResp = pb.VpnServerLocationListResp
  246. VpnServerLocationVo = pb.VpnServerLocationVo
  247. VpnServerVo = pb.VpnServerVo
  248. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  249. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  250. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  251. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  252. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  253. VpnTagGetReq = pb.VpnTagGetReq
  254. VpnTagListReq = pb.VpnTagListReq
  255. VpnTagListResp = pb.VpnTagListResp
  256. VpnTagVo = pb.VpnTagVo
  257. GoUserClient interface {
  258. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  259. // 用户app配置管理(ring)
  260. UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  261. UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  262. UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  263. UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  264. UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error)
  265. // 设备管理
  266. DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  267. DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  268. DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  269. DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  270. DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
  271. // Account
  272. AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  273. AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  274. AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  275. AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  276. AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error)
  277. // AccountDevice
  278. AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  279. AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  280. AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  281. AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  282. AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
  283. }
  284. defaultGoUserClient struct {
  285. cli zrpc.Client
  286. }
  287. )
  288. func NewGoUserClient(cli zrpc.Client) GoUserClient {
  289. return &defaultGoUserClient{
  290. cli: cli,
  291. }
  292. }
  293. func (m *defaultGoUserClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  294. client := pb.NewGoUserClientClient(m.cli.Conn())
  295. return client.Ping(ctx, in, opts...)
  296. }
  297. // 用户app配置管理(ring)
  298. func (m *defaultGoUserClient) UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  299. client := pb.NewGoUserClientClient(m.cli.Conn())
  300. return client.UserAppConfigAdd(ctx, in, opts...)
  301. }
  302. func (m *defaultGoUserClient) UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  303. client := pb.NewGoUserClientClient(m.cli.Conn())
  304. return client.UserAppConfigUpdate(ctx, in, opts...)
  305. }
  306. func (m *defaultGoUserClient) UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  307. client := pb.NewGoUserClientClient(m.cli.Conn())
  308. return client.UserAppConfigDel(ctx, in, opts...)
  309. }
  310. func (m *defaultGoUserClient) UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  311. client := pb.NewGoUserClientClient(m.cli.Conn())
  312. return client.UserAppConfigGet(ctx, in, opts...)
  313. }
  314. func (m *defaultGoUserClient) UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error) {
  315. client := pb.NewGoUserClientClient(m.cli.Conn())
  316. return client.UserAppConfigList(ctx, in, opts...)
  317. }
  318. // 设备管理
  319. func (m *defaultGoUserClient) DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  320. client := pb.NewGoUserClientClient(m.cli.Conn())
  321. return client.DeviceAdd(ctx, in, opts...)
  322. }
  323. func (m *defaultGoUserClient) DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  324. client := pb.NewGoUserClientClient(m.cli.Conn())
  325. return client.DeviceUpdate(ctx, in, opts...)
  326. }
  327. func (m *defaultGoUserClient) DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  328. client := pb.NewGoUserClientClient(m.cli.Conn())
  329. return client.DeviceDel(ctx, in, opts...)
  330. }
  331. func (m *defaultGoUserClient) DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  332. client := pb.NewGoUserClientClient(m.cli.Conn())
  333. return client.DeviceGet(ctx, in, opts...)
  334. }
  335. func (m *defaultGoUserClient) DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error) {
  336. client := pb.NewGoUserClientClient(m.cli.Conn())
  337. return client.DeviceList(ctx, in, opts...)
  338. }
  339. // Account
  340. func (m *defaultGoUserClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  341. client := pb.NewGoUserClientClient(m.cli.Conn())
  342. return client.AccountAdd(ctx, in, opts...)
  343. }
  344. func (m *defaultGoUserClient) AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  345. client := pb.NewGoUserClientClient(m.cli.Conn())
  346. return client.AccountUpdate(ctx, in, opts...)
  347. }
  348. func (m *defaultGoUserClient) AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  349. client := pb.NewGoUserClientClient(m.cli.Conn())
  350. return client.AccountDel(ctx, in, opts...)
  351. }
  352. func (m *defaultGoUserClient) AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  353. client := pb.NewGoUserClientClient(m.cli.Conn())
  354. return client.AccountGet(ctx, in, opts...)
  355. }
  356. func (m *defaultGoUserClient) AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error) {
  357. client := pb.NewGoUserClientClient(m.cli.Conn())
  358. return client.AccountList(ctx, in, opts...)
  359. }
  360. // AccountDevice
  361. func (m *defaultGoUserClient) AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  362. client := pb.NewGoUserClientClient(m.cli.Conn())
  363. return client.AccountDeviceAdd(ctx, in, opts...)
  364. }
  365. func (m *defaultGoUserClient) AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  366. client := pb.NewGoUserClientClient(m.cli.Conn())
  367. return client.AccountDeviceUpdate(ctx, in, opts...)
  368. }
  369. func (m *defaultGoUserClient) AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  370. client := pb.NewGoUserClientClient(m.cli.Conn())
  371. return client.AccountDeviceDel(ctx, in, opts...)
  372. }
  373. func (m *defaultGoUserClient) AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  374. client := pb.NewGoUserClientClient(m.cli.Conn())
  375. return client.AccountDeviceGet(ctx, in, opts...)
  376. }
  377. func (m *defaultGoUserClient) AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error) {
  378. client := pb.NewGoUserClientClient(m.cli.Conn())
  379. return client.AccountDeviceList(ctx, in, opts...)
  380. }