go_vpn_client.go 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063
  1. // Code generated by goctl. DO NOT EDIT.
  2. // goctl 1.8.5
  3. // Source: gorpc.proto
  4. package govpnclient
  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. DeviceAddFirebaseTokenReq = pb.DeviceAddFirebaseTokenReq
  43. DeviceFirebaseTokenMapReq = pb.DeviceFirebaseTokenMapReq
  44. DeviceFirebaseTokenMapRes = pb.DeviceFirebaseTokenMapRes
  45. DeviceListReq = pb.DeviceListReq
  46. DeviceListRes = pb.DeviceListRes
  47. DeviceUpdateFirebaseTokenReq = pb.DeviceUpdateFirebaseTokenReq
  48. DeviceVo = pb.DeviceVo
  49. DictGetReq = pb.DictGetReq
  50. DictListReq = pb.DictListReq
  51. DictListResp = pb.DictListResp
  52. DictVo = pb.DictVo
  53. Empty = pb.Empty
  54. FindSchedulePublishListReq = pb.FindSchedulePublishListReq
  55. FindSchedulePublishListResp = pb.FindSchedulePublishListResp
  56. GameCategoryListReq = pb.GameCategoryListReq
  57. GameCategoryListRes = pb.GameCategoryListRes
  58. GameCategoryReq = pb.GameCategoryReq
  59. GameCategoryVo = pb.GameCategoryVo
  60. GameCustomerAddResp = pb.GameCustomerAddResp
  61. GameCustomerListReq = pb.GameCustomerListReq
  62. GameCustomerListRes = pb.GameCustomerListRes
  63. GameCustomerVo = pb.GameCustomerVo
  64. GameListReq = pb.GameListReq
  65. GameListRes = pb.GameListRes
  66. GameRankOption = pb.GameRankOption
  67. GameRedisHScanByNameReq = pb.GameRedisHScanByNameReq
  68. GameRedisHScanByNameResp = pb.GameRedisHScanByNameResp
  69. GameReq = pb.GameReq
  70. GameVo = pb.GameVo
  71. GlobalParamGetReq = pb.GlobalParamGetReq
  72. GlobalParamListReq = pb.GlobalParamListReq
  73. GlobalParamListResp = pb.GlobalParamListResp
  74. GlobalParamVo = pb.GlobalParamVo
  75. I18NVo = pb.I18NVo
  76. Ids = pb.Ids
  77. Int64SelectController = pb.Int64SelectController
  78. IntSelectController = pb.IntSelectController
  79. JobBatchListReq = pb.JobBatchListReq
  80. JobBatchListResp = pb.JobBatchListResp
  81. JobBatchListWithTasksResp = pb.JobBatchListWithTasksResp
  82. JobBatchVo = pb.JobBatchVo
  83. JobBatchWithTasksVo = pb.JobBatchWithTasksVo
  84. JobTasksListReq = pb.JobTasksListReq
  85. JobTasksListResp = pb.JobTasksListResp
  86. JobTasksVo = pb.JobTasksVo
  87. MessagePushListReq = pb.MessagePushListReq
  88. MessagePushListResp = pb.MessagePushListResp
  89. MessagePushVo = pb.MessagePushVo
  90. NationalLanguageListReq = pb.NationalLanguageListReq
  91. NationalLanguageListResp = pb.NationalLanguageListResp
  92. NationalLanguageVo = pb.NationalLanguageVo
  93. OperationLogListReq = pb.OperationLogListReq
  94. OperationLogListResp = pb.OperationLogListResp
  95. OperationLogVo = pb.OperationLogVo
  96. Page = pb.Page
  97. Page_OrderItem = pb.Page_OrderItem
  98. ProductActionGroupDisableReq = pb.ProductActionGroupDisableReq
  99. ProductActionGroupEnableReq = pb.ProductActionGroupEnableReq
  100. ProductActionGroupListReq = pb.ProductActionGroupListReq
  101. ProductActionGroupListResp = pb.ProductActionGroupListResp
  102. ProductActionGroupReq = pb.ProductActionGroupReq
  103. ProductActionGroupVo = pb.ProductActionGroupVo
  104. ProductActionListReq = pb.ProductActionListReq
  105. ProductActionListResp = pb.ProductActionListResp
  106. ProductActionPolicyGroupDisableReq = pb.ProductActionPolicyGroupDisableReq
  107. ProductActionPolicyGroupEnableReq = pb.ProductActionPolicyGroupEnableReq
  108. ProductActionPolicyGroupListReq = pb.ProductActionPolicyGroupListReq
  109. ProductActionPolicyGroupListResp = pb.ProductActionPolicyGroupListResp
  110. ProductActionPolicyGroupReq = pb.ProductActionPolicyGroupReq
  111. ProductActionPolicyGroupVo = pb.ProductActionPolicyGroupVo
  112. ProductActionReq = pb.ProductActionReq
  113. ProductActionTypeListReq = pb.ProductActionTypeListReq
  114. ProductActionTypeListResp = pb.ProductActionTypeListResp
  115. ProductActionTypeReq = pb.ProductActionTypeReq
  116. ProductActionTypeVo = pb.ProductActionTypeVo
  117. ProductActionVo = pb.ProductActionVo
  118. ProductListReq = pb.ProductListReq
  119. ProductListResp = pb.ProductListResp
  120. ProductParamGetReq = pb.ProductParamGetReq
  121. ProductParamListReq = pb.ProductParamListReq
  122. ProductParamListResp = pb.ProductParamListResp
  123. ProductParamVo = pb.ProductParamVo
  124. ProductVo = pb.ProductVo
  125. PublishScheduleDramaReq = pb.PublishScheduleDramaReq
  126. RelGameRankListReq = pb.RelGameRankListReq
  127. RelGameRankListRes = pb.RelGameRankListRes
  128. RelGameRankReq = pb.RelGameRankReq
  129. RelGameRankVo = pb.RelGameRankVo
  130. RelGameVpnGroupListReq = pb.RelGameVpnGroupListReq
  131. RelGameVpnGroupListRes = pb.RelGameVpnGroupListRes
  132. RelGameVpnGroupReq = pb.RelGameVpnGroupReq
  133. RelGameVpnGroupVo = pb.RelGameVpnGroupVo
  134. Request = pb.Request
  135. Response = pb.Response
  136. ServiceSetsAddReq = pb.ServiceSetsAddReq
  137. ServiceSetsDelReq = pb.ServiceSetsDelReq
  138. ServiceSetsGetReq = pb.ServiceSetsGetReq
  139. ServiceSetsListReq = pb.ServiceSetsListReq
  140. ServiceSetsListResp = pb.ServiceSetsListResp
  141. ServiceSetsUpdateReq = pb.ServiceSetsUpdateReq
  142. ServiceSetsVo = pb.ServiceSetsVo
  143. ServiceTypesAddReq = pb.ServiceTypesAddReq
  144. ServiceTypesDelReq = pb.ServiceTypesDelReq
  145. ServiceTypesGetReq = pb.ServiceTypesGetReq
  146. ServiceTypesListReq = pb.ServiceTypesListReq
  147. ServiceTypesListResp = pb.ServiceTypesListResp
  148. ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq
  149. ServiceTypesVo = pb.ServiceTypesVo
  150. SetTotalStatsReq = pb.SetTotalStatsReq
  151. ShortDramaCheckNameReq = pb.ShortDramaCheckNameReq
  152. ShortDramaCheckNameResp = pb.ShortDramaCheckNameResp
  153. ShortDramaCopyrightInfoVo = pb.ShortDramaCopyrightInfoVo
  154. ShortDramaEpisodeBatchAddReq = pb.ShortDramaEpisodeBatchAddReq
  155. ShortDramaEpisodeBatchRefreshUpdateTimeReq = pb.ShortDramaEpisodeBatchRefreshUpdateTimeReq
  156. ShortDramaEpisodeCountReq = pb.ShortDramaEpisodeCountReq
  157. ShortDramaEpisodeCountResp = pb.ShortDramaEpisodeCountResp
  158. ShortDramaEpisodeCountVo = pb.ShortDramaEpisodeCountVo
  159. ShortDramaEpisodeGetReq = pb.ShortDramaEpisodeGetReq
  160. ShortDramaEpisodeListReq = pb.ShortDramaEpisodeListReq
  161. ShortDramaEpisodeListResp = pb.ShortDramaEpisodeListResp
  162. ShortDramaEpisodeVo = pb.ShortDramaEpisodeVo
  163. ShortDramaFindIdsWithCopyrightResp = pb.ShortDramaFindIdsWithCopyrightResp
  164. ShortDramaGetReq = pb.ShortDramaGetReq
  165. ShortDramaLanguageListReq = pb.ShortDramaLanguageListReq
  166. ShortDramaLanguageListResp = pb.ShortDramaLanguageListResp
  167. ShortDramaLanguageVo = pb.ShortDramaLanguageVo
  168. ShortDramaListReq = pb.ShortDramaListReq
  169. ShortDramaListResp = pb.ShortDramaListResp
  170. ShortDramaStatsPlaysTotalListReq = pb.ShortDramaStatsPlaysTotalListReq
  171. ShortDramaStatsPlaysTotalListResp = pb.ShortDramaStatsPlaysTotalListResp
  172. ShortDramaStatsPlaysTotalVo = pb.ShortDramaStatsPlaysTotalVo
  173. ShortDramaUpdateModifierReq = pb.ShortDramaUpdateModifierReq
  174. ShortDramaUpdateReleaseRegionsReq = pb.ShortDramaUpdateReleaseRegionsReq
  175. ShortDramaVo = pb.ShortDramaVo
  176. StringSelectController = pb.StringSelectController
  177. SysPermGetReq = pb.SysPermGetReq
  178. SysPermListReq = pb.SysPermListReq
  179. SysPermListResp = pb.SysPermListResp
  180. SysPermRule = pb.SysPermRule
  181. SysPermVo = pb.SysPermVo
  182. SysRoleGetReq = pb.SysRoleGetReq
  183. SysRoleListReq = pb.SysRoleListReq
  184. SysRoleListResp = pb.SysRoleListResp
  185. SysRoleListWithPermsResp = pb.SysRoleListWithPermsResp
  186. SysRolePermGetReq = pb.SysRolePermGetReq
  187. SysRolePermListReq = pb.SysRolePermListReq
  188. SysRolePermListResp = pb.SysRolePermListResp
  189. SysRolePermVo = pb.SysRolePermVo
  190. SysRoleVo = pb.SysRoleVo
  191. SysRoleWithPermIds = pb.SysRoleWithPermIds
  192. SysRoleWithPerms = pb.SysRoleWithPerms
  193. SysUserGetReq = pb.SysUserGetReq
  194. SysUserListReq = pb.SysUserListReq
  195. SysUserListResp = pb.SysUserListResp
  196. SysUserListWithRolesAndPermsResp = pb.SysUserListWithRolesAndPermsResp
  197. SysUserPermGetReq = pb.SysUserPermGetReq
  198. SysUserPermListReq = pb.SysUserPermListReq
  199. SysUserPermListResp = pb.SysUserPermListResp
  200. SysUserPermVo = pb.SysUserPermVo
  201. SysUserRoleGetReq = pb.SysUserRoleGetReq
  202. SysUserRoleListReq = pb.SysUserRoleListReq
  203. SysUserRoleListResp = pb.SysUserRoleListResp
  204. SysUserRoleVo = pb.SysUserRoleVo
  205. SysUserVo = pb.SysUserVo
  206. SysUserWithRoleIdsAndPermRules = pb.SysUserWithRoleIdsAndPermRules
  207. SysUserWithRolesAndPerms = pb.SysUserWithRolesAndPerms
  208. TimeRange = pb.TimeRange
  209. TipGetReq = pb.TipGetReq
  210. TipListReq = pb.TipListReq
  211. TipListResp = pb.TipListResp
  212. TipVo = pb.TipVo
  213. TransactionOperation = pb.TransactionOperation
  214. TransactionReq = pb.TransactionReq
  215. UpgradePkgPlanDetailListReq = pb.UpgradePkgPlanDetailListReq
  216. UpgradePkgPlanDetailListResp = pb.UpgradePkgPlanDetailListResp
  217. UpgradePkgPlanDetailVo = pb.UpgradePkgPlanDetailVo
  218. UpgradePkgPlanListReq = pb.UpgradePkgPlanListReq
  219. UpgradePkgPlanListResp = pb.UpgradePkgPlanListResp
  220. UpgradePkgPlanVo = pb.UpgradePkgPlanVo
  221. UpgradeResPlanDetailListReq = pb.UpgradeResPlanDetailListReq
  222. UpgradeResPlanDetailListResp = pb.UpgradeResPlanDetailListResp
  223. UpgradeResPlanDetailVo = pb.UpgradeResPlanDetailVo
  224. UpgradeResPlanListReq = pb.UpgradeResPlanListReq
  225. UpgradeResPlanListResp = pb.UpgradeResPlanListResp
  226. UpgradeResPlanVo = pb.UpgradeResPlanVo
  227. UserAddReq = pb.UserAddReq
  228. UserAddResp = pb.UserAddResp
  229. UserAppConfigGetReq = pb.UserAppConfigGetReq
  230. UserAppConfigListReq = pb.UserAppConfigListReq
  231. UserAppConfigListRes = pb.UserAppConfigListRes
  232. UserAppConfigVo = pb.UserAppConfigVo
  233. UserCredentialAddReq = pb.UserCredentialAddReq
  234. UserCredentialAddResp = pb.UserCredentialAddResp
  235. UserCredentialDelReq = pb.UserCredentialDelReq
  236. UserCredentialGetReq = pb.UserCredentialGetReq
  237. UserCredentialGetResp = pb.UserCredentialGetResp
  238. UserCredentialListReq = pb.UserCredentialListReq
  239. UserCredentialListResp = pb.UserCredentialListResp
  240. UserCredentialUpdateReq = pb.UserCredentialUpdateReq
  241. UserCredentialUpdateResp = pb.UserCredentialUpdateResp
  242. UserCredentialVo = pb.UserCredentialVo
  243. UserDelReq = pb.UserDelReq
  244. UserDeviceAddReq = pb.UserDeviceAddReq
  245. UserDeviceAddResp = pb.UserDeviceAddResp
  246. UserDeviceDelReq = pb.UserDeviceDelReq
  247. UserDeviceGetReq = pb.UserDeviceGetReq
  248. UserDeviceGetResp = pb.UserDeviceGetResp
  249. UserDeviceListReq = pb.UserDeviceListReq
  250. UserDeviceListResp = pb.UserDeviceListResp
  251. UserDeviceUpdateReq = pb.UserDeviceUpdateReq
  252. UserDeviceUpdateResp = pb.UserDeviceUpdateResp
  253. UserDeviceVo = pb.UserDeviceVo
  254. UserGetReq = pb.UserGetReq
  255. UserGetResp = pb.UserGetResp
  256. UserListReq = pb.UserListReq
  257. UserListResp = pb.UserListResp
  258. UserTestAddReq = pb.UserTestAddReq
  259. UserTestAddResp = pb.UserTestAddResp
  260. UserTestDelReq = pb.UserTestDelReq
  261. UserTestGetReq = pb.UserTestGetReq
  262. UserTestGetResp = pb.UserTestGetResp
  263. UserTestListReq = pb.UserTestListReq
  264. UserTestListResp = pb.UserTestListResp
  265. UserTestUpdateReq = pb.UserTestUpdateReq
  266. UserTestUpdateResp = pb.UserTestUpdateResp
  267. UserTestVo = pb.UserTestVo
  268. UserUpdateReq = pb.UserUpdateReq
  269. UserUpdateResp = pb.UserUpdateResp
  270. UserVo = pb.UserVo
  271. UserWhiteAddReq = pb.UserWhiteAddReq
  272. UserWhiteAddResp = pb.UserWhiteAddResp
  273. UserWhiteDelReq = pb.UserWhiteDelReq
  274. UserWhiteGetReq = pb.UserWhiteGetReq
  275. UserWhiteGetResp = pb.UserWhiteGetResp
  276. UserWhiteListReq = pb.UserWhiteListReq
  277. UserWhiteListResp = pb.UserWhiteListResp
  278. UserWhiteUpdateReq = pb.UserWhiteUpdateReq
  279. UserWhiteUpdateResp = pb.UserWhiteUpdateResp
  280. UserWhiteVo = pb.UserWhiteVo
  281. VpnConfigTemplatePlanAddReq = pb.VpnConfigTemplatePlanAddReq
  282. VpnConfigTemplatePlanAddResp = pb.VpnConfigTemplatePlanAddResp
  283. VpnConfigTemplatePlanDelReq = pb.VpnConfigTemplatePlanDelReq
  284. VpnConfigTemplatePlanDetailAddReq = pb.VpnConfigTemplatePlanDetailAddReq
  285. VpnConfigTemplatePlanDetailAddResp = pb.VpnConfigTemplatePlanDetailAddResp
  286. VpnConfigTemplatePlanDetailDelReq = pb.VpnConfigTemplatePlanDetailDelReq
  287. VpnConfigTemplatePlanDetailGetReq = pb.VpnConfigTemplatePlanDetailGetReq
  288. VpnConfigTemplatePlanDetailGetResp = pb.VpnConfigTemplatePlanDetailGetResp
  289. VpnConfigTemplatePlanDetailListReq = pb.VpnConfigTemplatePlanDetailListReq
  290. VpnConfigTemplatePlanDetailListResp = pb.VpnConfigTemplatePlanDetailListResp
  291. VpnConfigTemplatePlanDetailUpdateReq = pb.VpnConfigTemplatePlanDetailUpdateReq
  292. VpnConfigTemplatePlanDetailUpdateResp = pb.VpnConfigTemplatePlanDetailUpdateResp
  293. VpnConfigTemplatePlanDetailVo = pb.VpnConfigTemplatePlanDetailVo
  294. VpnConfigTemplatePlanGetReq = pb.VpnConfigTemplatePlanGetReq
  295. VpnConfigTemplatePlanGetResp = pb.VpnConfigTemplatePlanGetResp
  296. VpnConfigTemplatePlanListReq = pb.VpnConfigTemplatePlanListReq
  297. VpnConfigTemplatePlanListResp = pb.VpnConfigTemplatePlanListResp
  298. VpnConfigTemplatePlanUpdateReq = pb.VpnConfigTemplatePlanUpdateReq
  299. VpnConfigTemplatePlanUpdateResp = pb.VpnConfigTemplatePlanUpdateResp
  300. VpnConfigTemplatePlanVo = pb.VpnConfigTemplatePlanVo
  301. VpnGroupAddReq = pb.VpnGroupAddReq
  302. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  303. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  304. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  305. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  306. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  307. VpnGroupExVo = pb.VpnGroupExVo
  308. VpnGroupGetReq = pb.VpnGroupGetReq
  309. VpnGroupListReq = pb.VpnGroupListReq
  310. VpnGroupListResp = pb.VpnGroupListResp
  311. VpnGroupTagListReq = pb.VpnGroupTagListReq
  312. VpnGroupTagListResp = pb.VpnGroupTagListResp
  313. VpnGroupTagVo = pb.VpnGroupTagVo
  314. VpnGroupVo = pb.VpnGroupVo
  315. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  316. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  317. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  318. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  319. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  320. VpnLocationExVo = pb.VpnLocationExVo
  321. VpnLocationGetReq = pb.VpnLocationGetReq
  322. VpnLocationListReq = pb.VpnLocationListReq
  323. VpnLocationListResp = pb.VpnLocationListResp
  324. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  325. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  326. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  327. VpnLocationVo = pb.VpnLocationVo
  328. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  329. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  330. VpnProbeTaskVo = pb.VpnProbeTaskVo
  331. VpnServerAddReq = pb.VpnServerAddReq
  332. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  333. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  334. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  335. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  336. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  337. VpnServerExListResp = pb.VpnServerExListResp
  338. VpnServerExVo = pb.VpnServerExVo
  339. VpnServerListReq = pb.VpnServerListReq
  340. VpnServerListResp = pb.VpnServerListResp
  341. VpnServerLocationListReq = pb.VpnServerLocationListReq
  342. VpnServerLocationListResp = pb.VpnServerLocationListResp
  343. VpnServerLocationVo = pb.VpnServerLocationVo
  344. VpnServerVo = pb.VpnServerVo
  345. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  346. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  347. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  348. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  349. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  350. VpnTagGetReq = pb.VpnTagGetReq
  351. VpnTagListReq = pb.VpnTagListReq
  352. VpnTagListResp = pb.VpnTagListResp
  353. VpnTagVo = pb.VpnTagVo
  354. VpnWithIPAndPortItem = pb.VpnWithIPAndPortItem
  355. VpnWithIPAndPortReq = pb.VpnWithIPAndPortReq
  356. VpnWithIPAndPortResp = pb.VpnWithIPAndPortResp
  357. VpnipAddReq = pb.VpnipAddReq
  358. VpnipAddResp = pb.VpnipAddResp
  359. VpnipBatchAddReq = pb.VpnipBatchAddReq
  360. VpnipBatchAddResp = pb.VpnipBatchAddResp
  361. VpnipBatchUpdateReq = pb.VpnipBatchUpdateReq
  362. VpnipBatchUpdateResp = pb.VpnipBatchUpdateResp
  363. VpnipBindAddReq = pb.VpnipBindAddReq
  364. VpnipBindAddResp = pb.VpnipBindAddResp
  365. VpnipBindBatchAddReq = pb.VpnipBindBatchAddReq
  366. VpnipBindBatchAddResp = pb.VpnipBindBatchAddResp
  367. VpnipBindBatchUpdateReq = pb.VpnipBindBatchUpdateReq
  368. VpnipBindBatchUpdateResp = pb.VpnipBindBatchUpdateResp
  369. VpnipBindGetReq = pb.VpnipBindGetReq
  370. VpnipBindGetResp = pb.VpnipBindGetResp
  371. VpnipBindListReq = pb.VpnipBindListReq
  372. VpnipBindListResp = pb.VpnipBindListResp
  373. VpnipBindUpdateReq = pb.VpnipBindUpdateReq
  374. VpnipBindUpdateResp = pb.VpnipBindUpdateResp
  375. VpnipBindVo = pb.VpnipBindVo
  376. VpnipExAddReq = pb.VpnipExAddReq
  377. VpnipExAddResp = pb.VpnipExAddResp
  378. VpnipExBatchAddReq = pb.VpnipExBatchAddReq
  379. VpnipExBatchAddResp = pb.VpnipExBatchAddResp
  380. VpnipExBatchUpdateReq = pb.VpnipExBatchUpdateReq
  381. VpnipExBatchUpdateResp = pb.VpnipExBatchUpdateResp
  382. VpnipExGetResp = pb.VpnipExGetResp
  383. VpnipExListResp = pb.VpnipExListResp
  384. VpnipExUpdateReq = pb.VpnipExUpdateReq
  385. VpnipExUpdateResp = pb.VpnipExUpdateResp
  386. VpnipExVo = pb.VpnipExVo
  387. VpnipGetReq = pb.VpnipGetReq
  388. VpnipGetResp = pb.VpnipGetResp
  389. VpnipListReq = pb.VpnipListReq
  390. VpnipListResp = pb.VpnipListResp
  391. VpnipRangeAddReq = pb.VpnipRangeAddReq
  392. VpnipRangeAddResp = pb.VpnipRangeAddResp
  393. VpnipRangeBatchAddReq = pb.VpnipRangeBatchAddReq
  394. VpnipRangeBatchAddResp = pb.VpnipRangeBatchAddResp
  395. VpnipRangeBatchUpdateReq = pb.VpnipRangeBatchUpdateReq
  396. VpnipRangeBatchUpdateResp = pb.VpnipRangeBatchUpdateResp
  397. VpnipRangeExAddReq = pb.VpnipRangeExAddReq
  398. VpnipRangeExAddResp = pb.VpnipRangeExAddResp
  399. VpnipRangeExBatchAddReq = pb.VpnipRangeExBatchAddReq
  400. VpnipRangeExBatchAddResp = pb.VpnipRangeExBatchAddResp
  401. VpnipRangeExBatchUpdateReq = pb.VpnipRangeExBatchUpdateReq
  402. VpnipRangeExBatchUpdateResp = pb.VpnipRangeExBatchUpdateResp
  403. VpnipRangeExGetResp = pb.VpnipRangeExGetResp
  404. VpnipRangeExListResp = pb.VpnipRangeExListResp
  405. VpnipRangeExUpdateReq = pb.VpnipRangeExUpdateReq
  406. VpnipRangeExUpdateResp = pb.VpnipRangeExUpdateResp
  407. VpnipRangeExVo = pb.VpnipRangeExVo
  408. VpnipRangeGetReq = pb.VpnipRangeGetReq
  409. VpnipRangeGetResp = pb.VpnipRangeGetResp
  410. VpnipRangeListReq = pb.VpnipRangeListReq
  411. VpnipRangeListResp = pb.VpnipRangeListResp
  412. VpnipRangeUpdateReq = pb.VpnipRangeUpdateReq
  413. VpnipRangeUpdateResp = pb.VpnipRangeUpdateResp
  414. VpnipRangeVo = pb.VpnipRangeVo
  415. VpnipUpdateReq = pb.VpnipUpdateReq
  416. VpnipUpdateResp = pb.VpnipUpdateResp
  417. VpnipVo = pb.VpnipVo
  418. VpnipWalledAddReq = pb.VpnipWalledAddReq
  419. VpnipWalledAddResp = pb.VpnipWalledAddResp
  420. VpnipWalledBatchAddReq = pb.VpnipWalledBatchAddReq
  421. VpnipWalledBatchAddResp = pb.VpnipWalledBatchAddResp
  422. VpnipWalledBatchUpdateReq = pb.VpnipWalledBatchUpdateReq
  423. VpnipWalledBatchUpdateResp = pb.VpnipWalledBatchUpdateResp
  424. VpnipWalledGetReq = pb.VpnipWalledGetReq
  425. VpnipWalledGetResp = pb.VpnipWalledGetResp
  426. VpnipWalledListReq = pb.VpnipWalledListReq
  427. VpnipWalledListResp = pb.VpnipWalledListResp
  428. VpnipWalledUpdateReq = pb.VpnipWalledUpdateReq
  429. VpnipWalledUpdateResp = pb.VpnipWalledUpdateResp
  430. VpnipWalledVo = pb.VpnipWalledVo
  431. GoVpnClient interface {
  432. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  433. // 表的事务操作
  434. Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
  435. // VpnTag Model
  436. VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  437. VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  438. VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  439. VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error)
  440. VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
  441. VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
  442. VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
  443. // VpnGroup Model
  444. VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  445. VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
  446. VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  447. VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  448. VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
  449. VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
  450. VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
  451. // VpnGroupTag Model
  452. VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  453. VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  454. VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  455. VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  456. VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
  457. // VpnLocation Model
  458. VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
  459. VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
  460. VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  461. VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error)
  462. VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
  463. VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
  464. VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
  465. // VpnServer Model
  466. VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  467. VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  468. VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  469. VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error)
  470. VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error)
  471. VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error)
  472. VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
  473. VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
  474. VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
  475. // VpnServerLocation Model
  476. VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  477. VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
  478. VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  479. VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  480. VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error)
  481. VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
  482. // VpnLocationServerCount
  483. VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
  484. // VpnProbeTask Model
  485. VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
  486. VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
  487. VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
  488. // VpnipWalled Model
  489. VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
  490. VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
  491. VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  492. VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error)
  493. VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
  494. VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
  495. VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
  496. // Vpnip Model
  497. VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
  498. VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
  499. VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error)
  500. VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error)
  501. VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  502. VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error)
  503. VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error)
  504. VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error)
  505. VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error)
  506. VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error)
  507. VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
  508. VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
  509. VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
  510. // VpnipRange Model
  511. VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
  512. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  513. VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error)
  514. VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error)
  515. VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error)
  516. VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  517. VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error)
  518. VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error)
  519. VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error)
  520. VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error)
  521. VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error)
  522. VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
  523. VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
  524. VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
  525. // VpnipBind Model
  526. VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
  527. VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
  528. VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  529. VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error)
  530. VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error)
  531. VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
  532. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  533. VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
  534. // VpnConfigTemplatePlan Model
  535. VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
  536. VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error)
  537. VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
  538. VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
  539. VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
  540. VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
  541. VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
  542. VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
  543. VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
  544. VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
  545. }
  546. defaultGoVpnClient struct {
  547. cli zrpc.Client
  548. }
  549. )
  550. func NewGoVpnClient(cli zrpc.Client) GoVpnClient {
  551. return &defaultGoVpnClient{
  552. cli: cli,
  553. }
  554. }
  555. func (m *defaultGoVpnClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  556. client := pb.NewGoVpnClientClient(m.cli.Conn())
  557. return client.Ping(ctx, in, opts...)
  558. }
  559. // 表的事务操作
  560. func (m *defaultGoVpnClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) {
  561. client := pb.NewGoVpnClientClient(m.cli.Conn())
  562. return client.Transaction(ctx, in, opts...)
  563. }
  564. // VpnTag Model
  565. func (m *defaultGoVpnClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  566. client := pb.NewGoVpnClientClient(m.cli.Conn())
  567. return client.VpnTagAdd(ctx, in, opts...)
  568. }
  569. func (m *defaultGoVpnClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  570. client := pb.NewGoVpnClientClient(m.cli.Conn())
  571. return client.VpnTagUpdate(ctx, in, opts...)
  572. }
  573. func (m *defaultGoVpnClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  574. client := pb.NewGoVpnClientClient(m.cli.Conn())
  575. return client.VpnTagDel(ctx, in, opts...)
  576. }
  577. func (m *defaultGoVpnClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) {
  578. client := pb.NewGoVpnClientClient(m.cli.Conn())
  579. return client.VpnTagGet(ctx, in, opts...)
  580. }
  581. func (m *defaultGoVpnClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) {
  582. client := pb.NewGoVpnClientClient(m.cli.Conn())
  583. return client.VpnTagList(ctx, in, opts...)
  584. }
  585. func (m *defaultGoVpnClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) {
  586. client := pb.NewGoVpnClientClient(m.cli.Conn())
  587. return client.VpnTagBatchAdd(ctx, in, opts...)
  588. }
  589. func (m *defaultGoVpnClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) {
  590. client := pb.NewGoVpnClientClient(m.cli.Conn())
  591. return client.VpnTagBatchUpdate(ctx, in, opts...)
  592. }
  593. // VpnGroup Model
  594. func (m *defaultGoVpnClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  595. client := pb.NewGoVpnClientClient(m.cli.Conn())
  596. return client.VpnGroupAdd(ctx, in, opts...)
  597. }
  598. func (m *defaultGoVpnClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) {
  599. client := pb.NewGoVpnClientClient(m.cli.Conn())
  600. return client.VpnGroupUpdate(ctx, in, opts...)
  601. }
  602. func (m *defaultGoVpnClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  603. client := pb.NewGoVpnClientClient(m.cli.Conn())
  604. return client.VpnGroupDel(ctx, in, opts...)
  605. }
  606. func (m *defaultGoVpnClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  607. client := pb.NewGoVpnClientClient(m.cli.Conn())
  608. return client.VpnGroupGet(ctx, in, opts...)
  609. }
  610. func (m *defaultGoVpnClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) {
  611. client := pb.NewGoVpnClientClient(m.cli.Conn())
  612. return client.VpnGroupList(ctx, in, opts...)
  613. }
  614. func (m *defaultGoVpnClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) {
  615. client := pb.NewGoVpnClientClient(m.cli.Conn())
  616. return client.VpnGroupBatchAdd(ctx, in, opts...)
  617. }
  618. func (m *defaultGoVpnClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) {
  619. client := pb.NewGoVpnClientClient(m.cli.Conn())
  620. return client.VpnGroupBatchUpdate(ctx, in, opts...)
  621. }
  622. // VpnGroupTag Model
  623. func (m *defaultGoVpnClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  624. client := pb.NewGoVpnClientClient(m.cli.Conn())
  625. return client.VpnGroupTagAdd(ctx, in, opts...)
  626. }
  627. func (m *defaultGoVpnClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  628. client := pb.NewGoVpnClientClient(m.cli.Conn())
  629. return client.VpnGroupTagUpdate(ctx, in, opts...)
  630. }
  631. func (m *defaultGoVpnClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  632. client := pb.NewGoVpnClientClient(m.cli.Conn())
  633. return client.VpnGroupTagDel(ctx, in, opts...)
  634. }
  635. func (m *defaultGoVpnClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  636. client := pb.NewGoVpnClientClient(m.cli.Conn())
  637. return client.VpnGroupTagGet(ctx, in, opts...)
  638. }
  639. func (m *defaultGoVpnClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) {
  640. client := pb.NewGoVpnClientClient(m.cli.Conn())
  641. return client.VpnGroupTagList(ctx, in, opts...)
  642. }
  643. // VpnLocation Model
  644. func (m *defaultGoVpnClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  645. client := pb.NewGoVpnClientClient(m.cli.Conn())
  646. return client.VpnLocationAdd(ctx, in, opts...)
  647. }
  648. func (m *defaultGoVpnClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  649. client := pb.NewGoVpnClientClient(m.cli.Conn())
  650. return client.VpnLocationUpdate(ctx, in, opts...)
  651. }
  652. func (m *defaultGoVpnClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  653. client := pb.NewGoVpnClientClient(m.cli.Conn())
  654. return client.VpnLocationDel(ctx, in, opts...)
  655. }
  656. func (m *defaultGoVpnClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  657. client := pb.NewGoVpnClientClient(m.cli.Conn())
  658. return client.VpnLocationGet(ctx, in, opts...)
  659. }
  660. func (m *defaultGoVpnClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) {
  661. client := pb.NewGoVpnClientClient(m.cli.Conn())
  662. return client.VpnLocationList(ctx, in, opts...)
  663. }
  664. func (m *defaultGoVpnClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) {
  665. client := pb.NewGoVpnClientClient(m.cli.Conn())
  666. return client.VpnLocationBatchAdd(ctx, in, opts...)
  667. }
  668. func (m *defaultGoVpnClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) {
  669. client := pb.NewGoVpnClientClient(m.cli.Conn())
  670. return client.VpnLocationBatchUpdate(ctx, in, opts...)
  671. }
  672. // VpnServer Model
  673. func (m *defaultGoVpnClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  674. client := pb.NewGoVpnClientClient(m.cli.Conn())
  675. return client.VpnServerAdd(ctx, in, opts...)
  676. }
  677. func (m *defaultGoVpnClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  678. client := pb.NewGoVpnClientClient(m.cli.Conn())
  679. return client.VpnServerUpdate(ctx, in, opts...)
  680. }
  681. func (m *defaultGoVpnClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  682. client := pb.NewGoVpnClientClient(m.cli.Conn())
  683. return client.VpnServerDel(ctx, in, opts...)
  684. }
  685. func (m *defaultGoVpnClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) {
  686. client := pb.NewGoVpnClientClient(m.cli.Conn())
  687. return client.VpnServerGet(ctx, in, opts...)
  688. }
  689. func (m *defaultGoVpnClient) VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error) {
  690. client := pb.NewGoVpnClientClient(m.cli.Conn())
  691. return client.VpnServerExGet(ctx, in, opts...)
  692. }
  693. func (m *defaultGoVpnClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) {
  694. client := pb.NewGoVpnClientClient(m.cli.Conn())
  695. return client.VpnServerList(ctx, in, opts...)
  696. }
  697. func (m *defaultGoVpnClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) {
  698. client := pb.NewGoVpnClientClient(m.cli.Conn())
  699. return client.VpnServerExList(ctx, in, opts...)
  700. }
  701. func (m *defaultGoVpnClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) {
  702. client := pb.NewGoVpnClientClient(m.cli.Conn())
  703. return client.VpnServerBatchAdd(ctx, in, opts...)
  704. }
  705. func (m *defaultGoVpnClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) {
  706. client := pb.NewGoVpnClientClient(m.cli.Conn())
  707. return client.VpnServerBatchUpdate(ctx, in, opts...)
  708. }
  709. // VpnServerLocation Model
  710. func (m *defaultGoVpnClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  711. client := pb.NewGoVpnClientClient(m.cli.Conn())
  712. return client.VpnServerLocationAdd(ctx, in, opts...)
  713. }
  714. func (m *defaultGoVpnClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  715. client := pb.NewGoVpnClientClient(m.cli.Conn())
  716. return client.VpnServerLocationUpdate(ctx, in, opts...)
  717. }
  718. func (m *defaultGoVpnClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  719. client := pb.NewGoVpnClientClient(m.cli.Conn())
  720. return client.VpnServerLocationDel(ctx, in, opts...)
  721. }
  722. func (m *defaultGoVpnClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  723. client := pb.NewGoVpnClientClient(m.cli.Conn())
  724. return client.VpnServerLocationGet(ctx, in, opts...)
  725. }
  726. func (m *defaultGoVpnClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) {
  727. client := pb.NewGoVpnClientClient(m.cli.Conn())
  728. return client.VpnServerLocationList(ctx, in, opts...)
  729. }
  730. func (m *defaultGoVpnClient) VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error) {
  731. client := pb.NewGoVpnClientClient(m.cli.Conn())
  732. return client.VpnWithIPAndPort(ctx, in, opts...)
  733. }
  734. // VpnLocationServerCount
  735. func (m *defaultGoVpnClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) {
  736. client := pb.NewGoVpnClientClient(m.cli.Conn())
  737. return client.VpnLocationServerCount(ctx, in, opts...)
  738. }
  739. // VpnProbeTask Model
  740. func (m *defaultGoVpnClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) {
  741. client := pb.NewGoVpnClientClient(m.cli.Conn())
  742. return client.VpnProbeTaskAdd(ctx, in, opts...)
  743. }
  744. func (m *defaultGoVpnClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) {
  745. client := pb.NewGoVpnClientClient(m.cli.Conn())
  746. return client.VpnProbeTaskUpdate(ctx, in, opts...)
  747. }
  748. func (m *defaultGoVpnClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) {
  749. client := pb.NewGoVpnClientClient(m.cli.Conn())
  750. return client.VpnProbeTaskList(ctx, in, opts...)
  751. }
  752. // VpnipWalled Model
  753. func (m *defaultGoVpnClient) VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error) {
  754. client := pb.NewGoVpnClientClient(m.cli.Conn())
  755. return client.VpnipWalledAdd(ctx, in, opts...)
  756. }
  757. func (m *defaultGoVpnClient) VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error) {
  758. client := pb.NewGoVpnClientClient(m.cli.Conn())
  759. return client.VpnipWalledUpdate(ctx, in, opts...)
  760. }
  761. func (m *defaultGoVpnClient) VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  762. client := pb.NewGoVpnClientClient(m.cli.Conn())
  763. return client.VpnipWalledDel(ctx, in, opts...)
  764. }
  765. func (m *defaultGoVpnClient) VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error) {
  766. client := pb.NewGoVpnClientClient(m.cli.Conn())
  767. return client.VpnipWalledGet(ctx, in, opts...)
  768. }
  769. func (m *defaultGoVpnClient) VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error) {
  770. client := pb.NewGoVpnClientClient(m.cli.Conn())
  771. return client.VpnipWalledList(ctx, in, opts...)
  772. }
  773. func (m *defaultGoVpnClient) VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error) {
  774. client := pb.NewGoVpnClientClient(m.cli.Conn())
  775. return client.VpnipWalledBatchAdd(ctx, in, opts...)
  776. }
  777. func (m *defaultGoVpnClient) VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error) {
  778. client := pb.NewGoVpnClientClient(m.cli.Conn())
  779. return client.VpnipWalledBatchUpdate(ctx, in, opts...)
  780. }
  781. // Vpnip Model
  782. func (m *defaultGoVpnClient) VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error) {
  783. client := pb.NewGoVpnClientClient(m.cli.Conn())
  784. return client.VpnipAdd(ctx, in, opts...)
  785. }
  786. func (m *defaultGoVpnClient) VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error) {
  787. client := pb.NewGoVpnClientClient(m.cli.Conn())
  788. return client.VpnipExAdd(ctx, in, opts...)
  789. }
  790. func (m *defaultGoVpnClient) VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error) {
  791. client := pb.NewGoVpnClientClient(m.cli.Conn())
  792. return client.VpnipUpdate(ctx, in, opts...)
  793. }
  794. func (m *defaultGoVpnClient) VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error) {
  795. client := pb.NewGoVpnClientClient(m.cli.Conn())
  796. return client.VpnipExUpdate(ctx, in, opts...)
  797. }
  798. func (m *defaultGoVpnClient) VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  799. client := pb.NewGoVpnClientClient(m.cli.Conn())
  800. return client.VpnipDel(ctx, in, opts...)
  801. }
  802. func (m *defaultGoVpnClient) VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error) {
  803. client := pb.NewGoVpnClientClient(m.cli.Conn())
  804. return client.VpnipGet(ctx, in, opts...)
  805. }
  806. func (m *defaultGoVpnClient) VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error) {
  807. client := pb.NewGoVpnClientClient(m.cli.Conn())
  808. return client.VpnipExGet(ctx, in, opts...)
  809. }
  810. func (m *defaultGoVpnClient) VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error) {
  811. client := pb.NewGoVpnClientClient(m.cli.Conn())
  812. return client.VpnipList(ctx, in, opts...)
  813. }
  814. func (m *defaultGoVpnClient) VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error) {
  815. client := pb.NewGoVpnClientClient(m.cli.Conn())
  816. return client.VpnipExList(ctx, in, opts...)
  817. }
  818. func (m *defaultGoVpnClient) VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error) {
  819. client := pb.NewGoVpnClientClient(m.cli.Conn())
  820. return client.VpnipBatchAdd(ctx, in, opts...)
  821. }
  822. func (m *defaultGoVpnClient) VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error) {
  823. client := pb.NewGoVpnClientClient(m.cli.Conn())
  824. return client.VpnipBatchUpdate(ctx, in, opts...)
  825. }
  826. func (m *defaultGoVpnClient) VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error) {
  827. client := pb.NewGoVpnClientClient(m.cli.Conn())
  828. return client.VpnipExBatchAdd(ctx, in, opts...)
  829. }
  830. func (m *defaultGoVpnClient) VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error) {
  831. client := pb.NewGoVpnClientClient(m.cli.Conn())
  832. return client.VpnipExBatchUpdate(ctx, in, opts...)
  833. }
  834. // VpnipRange Model
  835. func (m *defaultGoVpnClient) VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error) {
  836. client := pb.NewGoVpnClientClient(m.cli.Conn())
  837. return client.VpnipRangeAdd(ctx, in, opts...)
  838. }
  839. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  840. func (m *defaultGoVpnClient) VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error) {
  841. client := pb.NewGoVpnClientClient(m.cli.Conn())
  842. return client.VpnipRangeExAdd(ctx, in, opts...)
  843. }
  844. func (m *defaultGoVpnClient) VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error) {
  845. client := pb.NewGoVpnClientClient(m.cli.Conn())
  846. return client.VpnipRangeUpdate(ctx, in, opts...)
  847. }
  848. func (m *defaultGoVpnClient) VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error) {
  849. client := pb.NewGoVpnClientClient(m.cli.Conn())
  850. return client.VpnipRangeExUpdate(ctx, in, opts...)
  851. }
  852. func (m *defaultGoVpnClient) VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  853. client := pb.NewGoVpnClientClient(m.cli.Conn())
  854. return client.VpnipRangeDel(ctx, in, opts...)
  855. }
  856. func (m *defaultGoVpnClient) VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error) {
  857. client := pb.NewGoVpnClientClient(m.cli.Conn())
  858. return client.VpnipRangeGet(ctx, in, opts...)
  859. }
  860. func (m *defaultGoVpnClient) VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error) {
  861. client := pb.NewGoVpnClientClient(m.cli.Conn())
  862. return client.VpnipRangeExGet(ctx, in, opts...)
  863. }
  864. func (m *defaultGoVpnClient) VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error) {
  865. client := pb.NewGoVpnClientClient(m.cli.Conn())
  866. return client.VpnipRangeList(ctx, in, opts...)
  867. }
  868. func (m *defaultGoVpnClient) VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error) {
  869. client := pb.NewGoVpnClientClient(m.cli.Conn())
  870. return client.VpnipRangeExList(ctx, in, opts...)
  871. }
  872. func (m *defaultGoVpnClient) VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error) {
  873. client := pb.NewGoVpnClientClient(m.cli.Conn())
  874. return client.VpnipRangeBatchAdd(ctx, in, opts...)
  875. }
  876. func (m *defaultGoVpnClient) VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error) {
  877. client := pb.NewGoVpnClientClient(m.cli.Conn())
  878. return client.VpnipRangeExBatchAdd(ctx, in, opts...)
  879. }
  880. func (m *defaultGoVpnClient) VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error) {
  881. client := pb.NewGoVpnClientClient(m.cli.Conn())
  882. return client.VpnipRangeBatchUpdate(ctx, in, opts...)
  883. }
  884. func (m *defaultGoVpnClient) VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error) {
  885. client := pb.NewGoVpnClientClient(m.cli.Conn())
  886. return client.VpnipRangeExBatchUpdate(ctx, in, opts...)
  887. }
  888. // VpnipBind Model
  889. func (m *defaultGoVpnClient) VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error) {
  890. client := pb.NewGoVpnClientClient(m.cli.Conn())
  891. return client.VpnipBindAdd(ctx, in, opts...)
  892. }
  893. func (m *defaultGoVpnClient) VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error) {
  894. client := pb.NewGoVpnClientClient(m.cli.Conn())
  895. return client.VpnipBindUpdate(ctx, in, opts...)
  896. }
  897. func (m *defaultGoVpnClient) VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  898. client := pb.NewGoVpnClientClient(m.cli.Conn())
  899. return client.VpnipBindDel(ctx, in, opts...)
  900. }
  901. func (m *defaultGoVpnClient) VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error) {
  902. client := pb.NewGoVpnClientClient(m.cli.Conn())
  903. return client.VpnipBindGet(ctx, in, opts...)
  904. }
  905. func (m *defaultGoVpnClient) VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error) {
  906. client := pb.NewGoVpnClientClient(m.cli.Conn())
  907. return client.VpnipBindList(ctx, in, opts...)
  908. }
  909. func (m *defaultGoVpnClient) VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error) {
  910. client := pb.NewGoVpnClientClient(m.cli.Conn())
  911. return client.VpnipBindBatchUpdate(ctx, in, opts...)
  912. }
  913. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  914. func (m *defaultGoVpnClient) VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error) {
  915. client := pb.NewGoVpnClientClient(m.cli.Conn())
  916. return client.VpnipsBindServer(ctx, in, opts...)
  917. }
  918. // VpnConfigTemplatePlan Model
  919. func (m *defaultGoVpnClient) VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error) {
  920. client := pb.NewGoVpnClientClient(m.cli.Conn())
  921. return client.VpnConfigTemplatePlanAdd(ctx, in, opts...)
  922. }
  923. func (m *defaultGoVpnClient) VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error) {
  924. client := pb.NewGoVpnClientClient(m.cli.Conn())
  925. return client.VpnConfigTemplatePlanUpdate(ctx, in, opts...)
  926. }
  927. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
  928. client := pb.NewGoVpnClientClient(m.cli.Conn())
  929. return client.VpnConfigTemplatePlanDel(ctx, in, opts...)
  930. }
  931. func (m *defaultGoVpnClient) VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error) {
  932. client := pb.NewGoVpnClientClient(m.cli.Conn())
  933. return client.VpnConfigTemplatePlanGet(ctx, in, opts...)
  934. }
  935. func (m *defaultGoVpnClient) VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error) {
  936. client := pb.NewGoVpnClientClient(m.cli.Conn())
  937. return client.VpnConfigTemplatePlanList(ctx, in, opts...)
  938. }
  939. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error) {
  940. client := pb.NewGoVpnClientClient(m.cli.Conn())
  941. return client.VpnConfigTemplatePlanDetailAdd(ctx, in, opts...)
  942. }
  943. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error) {
  944. client := pb.NewGoVpnClientClient(m.cli.Conn())
  945. return client.VpnConfigTemplatePlanDetailUpdate(ctx, in, opts...)
  946. }
  947. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error) {
  948. client := pb.NewGoVpnClientClient(m.cli.Conn())
  949. return client.VpnConfigTemplatePlanDetailDel(ctx, in, opts...)
  950. }
  951. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error) {
  952. client := pb.NewGoVpnClientClient(m.cli.Conn())
  953. return client.VpnConfigTemplatePlanDetailGet(ctx, in, opts...)
  954. }
  955. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error) {
  956. client := pb.NewGoVpnClientClient(m.cli.Conn())
  957. return client.VpnConfigTemplatePlanDetailList(ctx, in, opts...)
  958. }