go_vpn_client.go 63 KB

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