go_user_client.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  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. 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. VpnConfigTemplatePlanAddReq = pb.VpnConfigTemplatePlanAddReq
  205. VpnConfigTemplatePlanAddResp = pb.VpnConfigTemplatePlanAddResp
  206. VpnConfigTemplatePlanDelReq = pb.VpnConfigTemplatePlanDelReq
  207. VpnConfigTemplatePlanDetailAddReq = pb.VpnConfigTemplatePlanDetailAddReq
  208. VpnConfigTemplatePlanDetailAddResp = pb.VpnConfigTemplatePlanDetailAddResp
  209. VpnConfigTemplatePlanDetailDelReq = pb.VpnConfigTemplatePlanDetailDelReq
  210. VpnConfigTemplatePlanDetailGetReq = pb.VpnConfigTemplatePlanDetailGetReq
  211. VpnConfigTemplatePlanDetailGetResp = pb.VpnConfigTemplatePlanDetailGetResp
  212. VpnConfigTemplatePlanDetailListReq = pb.VpnConfigTemplatePlanDetailListReq
  213. VpnConfigTemplatePlanDetailListResp = pb.VpnConfigTemplatePlanDetailListResp
  214. VpnConfigTemplatePlanDetailUpdateReq = pb.VpnConfigTemplatePlanDetailUpdateReq
  215. VpnConfigTemplatePlanDetailUpdateResp = pb.VpnConfigTemplatePlanDetailUpdateResp
  216. VpnConfigTemplatePlanDetailVo = pb.VpnConfigTemplatePlanDetailVo
  217. VpnConfigTemplatePlanGetReq = pb.VpnConfigTemplatePlanGetReq
  218. VpnConfigTemplatePlanGetResp = pb.VpnConfigTemplatePlanGetResp
  219. VpnConfigTemplatePlanListReq = pb.VpnConfigTemplatePlanListReq
  220. VpnConfigTemplatePlanListResp = pb.VpnConfigTemplatePlanListResp
  221. VpnConfigTemplatePlanUpdateReq = pb.VpnConfigTemplatePlanUpdateReq
  222. VpnConfigTemplatePlanUpdateResp = pb.VpnConfigTemplatePlanUpdateResp
  223. VpnConfigTemplatePlanVo = pb.VpnConfigTemplatePlanVo
  224. VpnGroupAddReq = pb.VpnGroupAddReq
  225. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  226. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  227. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  228. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  229. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  230. VpnGroupExVo = pb.VpnGroupExVo
  231. VpnGroupGetReq = pb.VpnGroupGetReq
  232. VpnGroupListReq = pb.VpnGroupListReq
  233. VpnGroupListResp = pb.VpnGroupListResp
  234. VpnGroupTagListReq = pb.VpnGroupTagListReq
  235. VpnGroupTagListResp = pb.VpnGroupTagListResp
  236. VpnGroupTagVo = pb.VpnGroupTagVo
  237. VpnGroupVo = pb.VpnGroupVo
  238. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  239. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  240. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  241. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  242. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  243. VpnLocationExVo = pb.VpnLocationExVo
  244. VpnLocationGetReq = pb.VpnLocationGetReq
  245. VpnLocationListReq = pb.VpnLocationListReq
  246. VpnLocationListResp = pb.VpnLocationListResp
  247. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  248. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  249. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  250. VpnLocationVo = pb.VpnLocationVo
  251. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  252. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  253. VpnProbeTaskVo = pb.VpnProbeTaskVo
  254. VpnServerAddReq = pb.VpnServerAddReq
  255. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  256. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  257. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  258. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  259. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  260. VpnServerExListResp = pb.VpnServerExListResp
  261. VpnServerExVo = pb.VpnServerExVo
  262. VpnServerListReq = pb.VpnServerListReq
  263. VpnServerListResp = pb.VpnServerListResp
  264. VpnServerLocationListReq = pb.VpnServerLocationListReq
  265. VpnServerLocationListResp = pb.VpnServerLocationListResp
  266. VpnServerLocationVo = pb.VpnServerLocationVo
  267. VpnServerVo = pb.VpnServerVo
  268. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  269. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  270. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  271. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  272. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  273. VpnTagGetReq = pb.VpnTagGetReq
  274. VpnTagListReq = pb.VpnTagListReq
  275. VpnTagListResp = pb.VpnTagListResp
  276. VpnTagVo = pb.VpnTagVo
  277. GoUserClient interface {
  278. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  279. // 用户app配置管理(ring)
  280. UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  281. UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  282. UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  283. UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error)
  284. UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error)
  285. // 设备管理
  286. DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  287. DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  288. DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  289. DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error)
  290. DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error)
  291. // Account
  292. AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  293. AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  294. AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  295. AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error)
  296. AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error)
  297. // AccountDevice
  298. AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  299. AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  300. AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  301. AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error)
  302. AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error)
  303. }
  304. defaultGoUserClient struct {
  305. cli zrpc.Client
  306. }
  307. )
  308. func NewGoUserClient(cli zrpc.Client) GoUserClient {
  309. return &defaultGoUserClient{
  310. cli: cli,
  311. }
  312. }
  313. func (m *defaultGoUserClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  314. client := pb.NewGoUserClientClient(m.cli.Conn())
  315. return client.Ping(ctx, in, opts...)
  316. }
  317. // 用户app配置管理(ring)
  318. func (m *defaultGoUserClient) UserAppConfigAdd(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  319. client := pb.NewGoUserClientClient(m.cli.Conn())
  320. return client.UserAppConfigAdd(ctx, in, opts...)
  321. }
  322. func (m *defaultGoUserClient) UserAppConfigUpdate(ctx context.Context, in *UserAppConfigVo, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  323. client := pb.NewGoUserClientClient(m.cli.Conn())
  324. return client.UserAppConfigUpdate(ctx, in, opts...)
  325. }
  326. func (m *defaultGoUserClient) UserAppConfigDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  327. client := pb.NewGoUserClientClient(m.cli.Conn())
  328. return client.UserAppConfigDel(ctx, in, opts...)
  329. }
  330. func (m *defaultGoUserClient) UserAppConfigGet(ctx context.Context, in *UserAppConfigGetReq, opts ...grpc.CallOption) (*UserAppConfigVo, error) {
  331. client := pb.NewGoUserClientClient(m.cli.Conn())
  332. return client.UserAppConfigGet(ctx, in, opts...)
  333. }
  334. func (m *defaultGoUserClient) UserAppConfigList(ctx context.Context, in *UserAppConfigListReq, opts ...grpc.CallOption) (*UserAppConfigListRes, error) {
  335. client := pb.NewGoUserClientClient(m.cli.Conn())
  336. return client.UserAppConfigList(ctx, in, opts...)
  337. }
  338. // 设备管理
  339. func (m *defaultGoUserClient) DeviceAdd(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  340. client := pb.NewGoUserClientClient(m.cli.Conn())
  341. return client.DeviceAdd(ctx, in, opts...)
  342. }
  343. func (m *defaultGoUserClient) DeviceUpdate(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  344. client := pb.NewGoUserClientClient(m.cli.Conn())
  345. return client.DeviceUpdate(ctx, in, opts...)
  346. }
  347. func (m *defaultGoUserClient) DeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  348. client := pb.NewGoUserClientClient(m.cli.Conn())
  349. return client.DeviceDel(ctx, in, opts...)
  350. }
  351. func (m *defaultGoUserClient) DeviceGet(ctx context.Context, in *DeviceVo, opts ...grpc.CallOption) (*DeviceVo, error) {
  352. client := pb.NewGoUserClientClient(m.cli.Conn())
  353. return client.DeviceGet(ctx, in, opts...)
  354. }
  355. func (m *defaultGoUserClient) DeviceList(ctx context.Context, in *DeviceListReq, opts ...grpc.CallOption) (*DeviceListRes, error) {
  356. client := pb.NewGoUserClientClient(m.cli.Conn())
  357. return client.DeviceList(ctx, in, opts...)
  358. }
  359. // Account
  360. func (m *defaultGoUserClient) AccountAdd(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  361. client := pb.NewGoUserClientClient(m.cli.Conn())
  362. return client.AccountAdd(ctx, in, opts...)
  363. }
  364. func (m *defaultGoUserClient) AccountUpdate(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  365. client := pb.NewGoUserClientClient(m.cli.Conn())
  366. return client.AccountUpdate(ctx, in, opts...)
  367. }
  368. func (m *defaultGoUserClient) AccountDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  369. client := pb.NewGoUserClientClient(m.cli.Conn())
  370. return client.AccountDel(ctx, in, opts...)
  371. }
  372. func (m *defaultGoUserClient) AccountGet(ctx context.Context, in *AccountVo, opts ...grpc.CallOption) (*AccountVo, error) {
  373. client := pb.NewGoUserClientClient(m.cli.Conn())
  374. return client.AccountGet(ctx, in, opts...)
  375. }
  376. func (m *defaultGoUserClient) AccountList(ctx context.Context, in *AccountListReq, opts ...grpc.CallOption) (*AccountListResp, error) {
  377. client := pb.NewGoUserClientClient(m.cli.Conn())
  378. return client.AccountList(ctx, in, opts...)
  379. }
  380. // AccountDevice
  381. func (m *defaultGoUserClient) AccountDeviceAdd(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  382. client := pb.NewGoUserClientClient(m.cli.Conn())
  383. return client.AccountDeviceAdd(ctx, in, opts...)
  384. }
  385. func (m *defaultGoUserClient) AccountDeviceUpdate(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  386. client := pb.NewGoUserClientClient(m.cli.Conn())
  387. return client.AccountDeviceUpdate(ctx, in, opts...)
  388. }
  389. func (m *defaultGoUserClient) AccountDeviceDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  390. client := pb.NewGoUserClientClient(m.cli.Conn())
  391. return client.AccountDeviceDel(ctx, in, opts...)
  392. }
  393. func (m *defaultGoUserClient) AccountDeviceGet(ctx context.Context, in *AccountDeviceVo, opts ...grpc.CallOption) (*AccountDeviceVo, error) {
  394. client := pb.NewGoUserClientClient(m.cli.Conn())
  395. return client.AccountDeviceGet(ctx, in, opts...)
  396. }
  397. func (m *defaultGoUserClient) AccountDeviceList(ctx context.Context, in *AccountDeviceListReq, opts ...grpc.CallOption) (*AccountDeviceListResp, error) {
  398. client := pb.NewGoUserClientClient(m.cli.Conn())
  399. return client.AccountDeviceList(ctx, in, opts...)
  400. }