go_vpn_client.go 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
  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. 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. UserServiceAddReq = pb.UserServiceAddReq
  255. UserServiceAddResp = pb.UserServiceAddResp
  256. UserServiceDelReq = pb.UserServiceDelReq
  257. UserServiceGetReq = pb.UserServiceGetReq
  258. UserServiceGetResp = pb.UserServiceGetResp
  259. UserServiceListReq = pb.UserServiceListReq
  260. UserServiceListResp = pb.UserServiceListResp
  261. UserServiceUpdateReq = pb.UserServiceUpdateReq
  262. UserServiceUpdateResp = pb.UserServiceUpdateResp
  263. UserServiceVo = pb.UserServiceVo
  264. UserTestAddReq = pb.UserTestAddReq
  265. UserTestAddResp = pb.UserTestAddResp
  266. UserTestDelReq = pb.UserTestDelReq
  267. UserTestGetReq = pb.UserTestGetReq
  268. UserTestGetResp = pb.UserTestGetResp
  269. UserTestListReq = pb.UserTestListReq
  270. UserTestListResp = pb.UserTestListResp
  271. UserTestUpdateReq = pb.UserTestUpdateReq
  272. UserTestUpdateResp = pb.UserTestUpdateResp
  273. UserTestVo = pb.UserTestVo
  274. UserUpdateReq = pb.UserUpdateReq
  275. UserUpdateResp = pb.UserUpdateResp
  276. UserVo = pb.UserVo
  277. UserWhiteAddReq = pb.UserWhiteAddReq
  278. UserWhiteAddResp = pb.UserWhiteAddResp
  279. UserWhiteDelReq = pb.UserWhiteDelReq
  280. UserWhiteGetReq = pb.UserWhiteGetReq
  281. UserWhiteGetResp = pb.UserWhiteGetResp
  282. UserWhiteListReq = pb.UserWhiteListReq
  283. UserWhiteListResp = pb.UserWhiteListResp
  284. UserWhiteUpdateReq = pb.UserWhiteUpdateReq
  285. UserWhiteUpdateResp = pb.UserWhiteUpdateResp
  286. UserWhiteVo = pb.UserWhiteVo
  287. VpnConfigTemplatePlanAddReq = pb.VpnConfigTemplatePlanAddReq
  288. VpnConfigTemplatePlanAddResp = pb.VpnConfigTemplatePlanAddResp
  289. VpnConfigTemplatePlanDelReq = pb.VpnConfigTemplatePlanDelReq
  290. VpnConfigTemplatePlanDetailAddReq = pb.VpnConfigTemplatePlanDetailAddReq
  291. VpnConfigTemplatePlanDetailAddResp = pb.VpnConfigTemplatePlanDetailAddResp
  292. VpnConfigTemplatePlanDetailDelReq = pb.VpnConfigTemplatePlanDetailDelReq
  293. VpnConfigTemplatePlanDetailGetReq = pb.VpnConfigTemplatePlanDetailGetReq
  294. VpnConfigTemplatePlanDetailGetResp = pb.VpnConfigTemplatePlanDetailGetResp
  295. VpnConfigTemplatePlanDetailListReq = pb.VpnConfigTemplatePlanDetailListReq
  296. VpnConfigTemplatePlanDetailListResp = pb.VpnConfigTemplatePlanDetailListResp
  297. VpnConfigTemplatePlanDetailUpdateReq = pb.VpnConfigTemplatePlanDetailUpdateReq
  298. VpnConfigTemplatePlanDetailUpdateResp = pb.VpnConfigTemplatePlanDetailUpdateResp
  299. VpnConfigTemplatePlanDetailVo = pb.VpnConfigTemplatePlanDetailVo
  300. VpnConfigTemplatePlanGetReq = pb.VpnConfigTemplatePlanGetReq
  301. VpnConfigTemplatePlanGetResp = pb.VpnConfigTemplatePlanGetResp
  302. VpnConfigTemplatePlanListReq = pb.VpnConfigTemplatePlanListReq
  303. VpnConfigTemplatePlanListResp = pb.VpnConfigTemplatePlanListResp
  304. VpnConfigTemplatePlanUpdateReq = pb.VpnConfigTemplatePlanUpdateReq
  305. VpnConfigTemplatePlanUpdateResp = pb.VpnConfigTemplatePlanUpdateResp
  306. VpnConfigTemplatePlanVo = pb.VpnConfigTemplatePlanVo
  307. VpnGroupAddReq = pb.VpnGroupAddReq
  308. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  309. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  310. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  311. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  312. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  313. VpnGroupExVo = pb.VpnGroupExVo
  314. VpnGroupGetReq = pb.VpnGroupGetReq
  315. VpnGroupListReq = pb.VpnGroupListReq
  316. VpnGroupListResp = pb.VpnGroupListResp
  317. VpnGroupTagListReq = pb.VpnGroupTagListReq
  318. VpnGroupTagListResp = pb.VpnGroupTagListResp
  319. VpnGroupTagVo = pb.VpnGroupTagVo
  320. VpnGroupVo = pb.VpnGroupVo
  321. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  322. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  323. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  324. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  325. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  326. VpnLocationExVo = pb.VpnLocationExVo
  327. VpnLocationGetReq = pb.VpnLocationGetReq
  328. VpnLocationListReq = pb.VpnLocationListReq
  329. VpnLocationListResp = pb.VpnLocationListResp
  330. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  331. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  332. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  333. VpnLocationVo = pb.VpnLocationVo
  334. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  335. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  336. VpnProbeTaskVo = pb.VpnProbeTaskVo
  337. VpnServerAddReq = pb.VpnServerAddReq
  338. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  339. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  340. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  341. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  342. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  343. VpnServerExListResp = pb.VpnServerExListResp
  344. VpnServerExVo = pb.VpnServerExVo
  345. VpnServerListReq = pb.VpnServerListReq
  346. VpnServerListResp = pb.VpnServerListResp
  347. VpnServerLocationListReq = pb.VpnServerLocationListReq
  348. VpnServerLocationListResp = pb.VpnServerLocationListResp
  349. VpnServerLocationVo = pb.VpnServerLocationVo
  350. VpnServerVo = pb.VpnServerVo
  351. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  352. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  353. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  354. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  355. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  356. VpnTagGetReq = pb.VpnTagGetReq
  357. VpnTagListReq = pb.VpnTagListReq
  358. VpnTagListResp = pb.VpnTagListResp
  359. VpnTagVo = pb.VpnTagVo
  360. VpnWithIPAndPortReq = pb.VpnWithIPAndPortReq
  361. VpnWithIPAndPortResp = pb.VpnWithIPAndPortResp
  362. VpnipAddReq = pb.VpnipAddReq
  363. VpnipAddResp = pb.VpnipAddResp
  364. VpnipBatchAddReq = pb.VpnipBatchAddReq
  365. VpnipBatchAddResp = pb.VpnipBatchAddResp
  366. VpnipBatchUpdateReq = pb.VpnipBatchUpdateReq
  367. VpnipBatchUpdateResp = pb.VpnipBatchUpdateResp
  368. VpnipBindAddReq = pb.VpnipBindAddReq
  369. VpnipBindAddResp = pb.VpnipBindAddResp
  370. VpnipBindBatchAddReq = pb.VpnipBindBatchAddReq
  371. VpnipBindBatchAddResp = pb.VpnipBindBatchAddResp
  372. VpnipBindBatchUpdateReq = pb.VpnipBindBatchUpdateReq
  373. VpnipBindBatchUpdateResp = pb.VpnipBindBatchUpdateResp
  374. VpnipBindGetReq = pb.VpnipBindGetReq
  375. VpnipBindGetResp = pb.VpnipBindGetResp
  376. VpnipBindListReq = pb.VpnipBindListReq
  377. VpnipBindListResp = pb.VpnipBindListResp
  378. VpnipBindUpdateReq = pb.VpnipBindUpdateReq
  379. VpnipBindUpdateResp = pb.VpnipBindUpdateResp
  380. VpnipBindVo = pb.VpnipBindVo
  381. VpnipExAddReq = pb.VpnipExAddReq
  382. VpnipExAddResp = pb.VpnipExAddResp
  383. VpnipExBatchAddReq = pb.VpnipExBatchAddReq
  384. VpnipExBatchAddResp = pb.VpnipExBatchAddResp
  385. VpnipExBatchUpdateReq = pb.VpnipExBatchUpdateReq
  386. VpnipExBatchUpdateResp = pb.VpnipExBatchUpdateResp
  387. VpnipExGetResp = pb.VpnipExGetResp
  388. VpnipExListResp = pb.VpnipExListResp
  389. VpnipExUpdateReq = pb.VpnipExUpdateReq
  390. VpnipExUpdateResp = pb.VpnipExUpdateResp
  391. VpnipExVo = pb.VpnipExVo
  392. VpnipGetReq = pb.VpnipGetReq
  393. VpnipGetResp = pb.VpnipGetResp
  394. VpnipListReq = pb.VpnipListReq
  395. VpnipListResp = pb.VpnipListResp
  396. VpnipRangeAddReq = pb.VpnipRangeAddReq
  397. VpnipRangeAddResp = pb.VpnipRangeAddResp
  398. VpnipRangeBatchAddReq = pb.VpnipRangeBatchAddReq
  399. VpnipRangeBatchAddResp = pb.VpnipRangeBatchAddResp
  400. VpnipRangeBatchUpdateReq = pb.VpnipRangeBatchUpdateReq
  401. VpnipRangeBatchUpdateResp = pb.VpnipRangeBatchUpdateResp
  402. VpnipRangeExAddReq = pb.VpnipRangeExAddReq
  403. VpnipRangeExAddResp = pb.VpnipRangeExAddResp
  404. VpnipRangeExBatchAddReq = pb.VpnipRangeExBatchAddReq
  405. VpnipRangeExBatchAddResp = pb.VpnipRangeExBatchAddResp
  406. VpnipRangeExBatchUpdateReq = pb.VpnipRangeExBatchUpdateReq
  407. VpnipRangeExBatchUpdateResp = pb.VpnipRangeExBatchUpdateResp
  408. VpnipRangeExGetResp = pb.VpnipRangeExGetResp
  409. VpnipRangeExListResp = pb.VpnipRangeExListResp
  410. VpnipRangeExUpdateReq = pb.VpnipRangeExUpdateReq
  411. VpnipRangeExUpdateResp = pb.VpnipRangeExUpdateResp
  412. VpnipRangeExVo = pb.VpnipRangeExVo
  413. VpnipRangeGetReq = pb.VpnipRangeGetReq
  414. VpnipRangeGetResp = pb.VpnipRangeGetResp
  415. VpnipRangeListReq = pb.VpnipRangeListReq
  416. VpnipRangeListResp = pb.VpnipRangeListResp
  417. VpnipRangeUpdateReq = pb.VpnipRangeUpdateReq
  418. VpnipRangeUpdateResp = pb.VpnipRangeUpdateResp
  419. VpnipRangeVo = pb.VpnipRangeVo
  420. VpnipUpdateReq = pb.VpnipUpdateReq
  421. VpnipUpdateResp = pb.VpnipUpdateResp
  422. VpnipVo = pb.VpnipVo
  423. VpnipWalledAddReq = pb.VpnipWalledAddReq
  424. VpnipWalledAddResp = pb.VpnipWalledAddResp
  425. VpnipWalledBatchAddReq = pb.VpnipWalledBatchAddReq
  426. VpnipWalledBatchAddResp = pb.VpnipWalledBatchAddResp
  427. VpnipWalledBatchUpdateReq = pb.VpnipWalledBatchUpdateReq
  428. VpnipWalledBatchUpdateResp = pb.VpnipWalledBatchUpdateResp
  429. VpnipWalledGetReq = pb.VpnipWalledGetReq
  430. VpnipWalledGetResp = pb.VpnipWalledGetResp
  431. VpnipWalledListReq = pb.VpnipWalledListReq
  432. VpnipWalledListResp = pb.VpnipWalledListResp
  433. VpnipWalledUpdateReq = pb.VpnipWalledUpdateReq
  434. VpnipWalledUpdateResp = pb.VpnipWalledUpdateResp
  435. VpnipWalledVo = pb.VpnipWalledVo
  436. GoVpnClient interface {
  437. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  438. // 表的事务操作
  439. Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
  440. // VpnTag Model
  441. VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  442. VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  443. VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  444. VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error)
  445. VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
  446. VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
  447. VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
  448. // VpnGroup Model
  449. VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  450. VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
  451. VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  452. VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  453. VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
  454. VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
  455. VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
  456. // VpnGroupTag Model
  457. VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  458. VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  459. VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  460. VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  461. VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
  462. // VpnLocation Model
  463. VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
  464. VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
  465. VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  466. VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error)
  467. VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
  468. VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
  469. VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
  470. // VpnServer Model
  471. VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  472. VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  473. VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  474. VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error)
  475. VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error)
  476. VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error)
  477. VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
  478. VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
  479. VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
  480. // VpnServerLocation Model
  481. VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  482. VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
  483. VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  484. VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  485. VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error)
  486. VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
  487. // VpnLocationServerCount
  488. VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
  489. // VpnProbeTask Model
  490. VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
  491. VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
  492. VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
  493. // VpnipWalled Model
  494. VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
  495. VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
  496. VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  497. VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error)
  498. VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
  499. VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
  500. VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
  501. // Vpnip Model
  502. VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
  503. VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
  504. VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error)
  505. VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error)
  506. VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  507. VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error)
  508. VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error)
  509. VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error)
  510. VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error)
  511. VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error)
  512. VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
  513. VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
  514. VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
  515. // VpnipRange Model
  516. VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
  517. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  518. VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error)
  519. VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error)
  520. VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error)
  521. VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  522. VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error)
  523. VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error)
  524. VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error)
  525. VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error)
  526. VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error)
  527. VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
  528. VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
  529. VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
  530. // VpnipBind Model
  531. VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
  532. VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
  533. VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  534. VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error)
  535. VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error)
  536. VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
  537. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  538. VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
  539. // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
  540. VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
  541. // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
  542. VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error)
  543. // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
  544. VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
  545. // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
  546. VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
  547. // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
  548. VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
  549. // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
  550. VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
  551. VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
  552. VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
  553. VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
  554. VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
  555. }
  556. defaultGoVpnClient struct {
  557. cli zrpc.Client
  558. }
  559. )
  560. func NewGoVpnClient(cli zrpc.Client) GoVpnClient {
  561. return &defaultGoVpnClient{
  562. cli: cli,
  563. }
  564. }
  565. func (m *defaultGoVpnClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  566. client := pb.NewGoVpnClientClient(m.cli.Conn())
  567. return client.Ping(ctx, in, opts...)
  568. }
  569. // 表的事务操作
  570. func (m *defaultGoVpnClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) {
  571. client := pb.NewGoVpnClientClient(m.cli.Conn())
  572. return client.Transaction(ctx, in, opts...)
  573. }
  574. // VpnTag Model
  575. func (m *defaultGoVpnClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  576. client := pb.NewGoVpnClientClient(m.cli.Conn())
  577. return client.VpnTagAdd(ctx, in, opts...)
  578. }
  579. func (m *defaultGoVpnClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  580. client := pb.NewGoVpnClientClient(m.cli.Conn())
  581. return client.VpnTagUpdate(ctx, in, opts...)
  582. }
  583. func (m *defaultGoVpnClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  584. client := pb.NewGoVpnClientClient(m.cli.Conn())
  585. return client.VpnTagDel(ctx, in, opts...)
  586. }
  587. func (m *defaultGoVpnClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) {
  588. client := pb.NewGoVpnClientClient(m.cli.Conn())
  589. return client.VpnTagGet(ctx, in, opts...)
  590. }
  591. func (m *defaultGoVpnClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) {
  592. client := pb.NewGoVpnClientClient(m.cli.Conn())
  593. return client.VpnTagList(ctx, in, opts...)
  594. }
  595. func (m *defaultGoVpnClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) {
  596. client := pb.NewGoVpnClientClient(m.cli.Conn())
  597. return client.VpnTagBatchAdd(ctx, in, opts...)
  598. }
  599. func (m *defaultGoVpnClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) {
  600. client := pb.NewGoVpnClientClient(m.cli.Conn())
  601. return client.VpnTagBatchUpdate(ctx, in, opts...)
  602. }
  603. // VpnGroup Model
  604. func (m *defaultGoVpnClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  605. client := pb.NewGoVpnClientClient(m.cli.Conn())
  606. return client.VpnGroupAdd(ctx, in, opts...)
  607. }
  608. func (m *defaultGoVpnClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) {
  609. client := pb.NewGoVpnClientClient(m.cli.Conn())
  610. return client.VpnGroupUpdate(ctx, in, opts...)
  611. }
  612. func (m *defaultGoVpnClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  613. client := pb.NewGoVpnClientClient(m.cli.Conn())
  614. return client.VpnGroupDel(ctx, in, opts...)
  615. }
  616. func (m *defaultGoVpnClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  617. client := pb.NewGoVpnClientClient(m.cli.Conn())
  618. return client.VpnGroupGet(ctx, in, opts...)
  619. }
  620. func (m *defaultGoVpnClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) {
  621. client := pb.NewGoVpnClientClient(m.cli.Conn())
  622. return client.VpnGroupList(ctx, in, opts...)
  623. }
  624. func (m *defaultGoVpnClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) {
  625. client := pb.NewGoVpnClientClient(m.cli.Conn())
  626. return client.VpnGroupBatchAdd(ctx, in, opts...)
  627. }
  628. func (m *defaultGoVpnClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) {
  629. client := pb.NewGoVpnClientClient(m.cli.Conn())
  630. return client.VpnGroupBatchUpdate(ctx, in, opts...)
  631. }
  632. // VpnGroupTag Model
  633. func (m *defaultGoVpnClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  634. client := pb.NewGoVpnClientClient(m.cli.Conn())
  635. return client.VpnGroupTagAdd(ctx, in, opts...)
  636. }
  637. func (m *defaultGoVpnClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  638. client := pb.NewGoVpnClientClient(m.cli.Conn())
  639. return client.VpnGroupTagUpdate(ctx, in, opts...)
  640. }
  641. func (m *defaultGoVpnClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  642. client := pb.NewGoVpnClientClient(m.cli.Conn())
  643. return client.VpnGroupTagDel(ctx, in, opts...)
  644. }
  645. func (m *defaultGoVpnClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  646. client := pb.NewGoVpnClientClient(m.cli.Conn())
  647. return client.VpnGroupTagGet(ctx, in, opts...)
  648. }
  649. func (m *defaultGoVpnClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) {
  650. client := pb.NewGoVpnClientClient(m.cli.Conn())
  651. return client.VpnGroupTagList(ctx, in, opts...)
  652. }
  653. // VpnLocation Model
  654. func (m *defaultGoVpnClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  655. client := pb.NewGoVpnClientClient(m.cli.Conn())
  656. return client.VpnLocationAdd(ctx, in, opts...)
  657. }
  658. func (m *defaultGoVpnClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  659. client := pb.NewGoVpnClientClient(m.cli.Conn())
  660. return client.VpnLocationUpdate(ctx, in, opts...)
  661. }
  662. func (m *defaultGoVpnClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  663. client := pb.NewGoVpnClientClient(m.cli.Conn())
  664. return client.VpnLocationDel(ctx, in, opts...)
  665. }
  666. func (m *defaultGoVpnClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  667. client := pb.NewGoVpnClientClient(m.cli.Conn())
  668. return client.VpnLocationGet(ctx, in, opts...)
  669. }
  670. func (m *defaultGoVpnClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) {
  671. client := pb.NewGoVpnClientClient(m.cli.Conn())
  672. return client.VpnLocationList(ctx, in, opts...)
  673. }
  674. func (m *defaultGoVpnClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) {
  675. client := pb.NewGoVpnClientClient(m.cli.Conn())
  676. return client.VpnLocationBatchAdd(ctx, in, opts...)
  677. }
  678. func (m *defaultGoVpnClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) {
  679. client := pb.NewGoVpnClientClient(m.cli.Conn())
  680. return client.VpnLocationBatchUpdate(ctx, in, opts...)
  681. }
  682. // VpnServer Model
  683. func (m *defaultGoVpnClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  684. client := pb.NewGoVpnClientClient(m.cli.Conn())
  685. return client.VpnServerAdd(ctx, in, opts...)
  686. }
  687. func (m *defaultGoVpnClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  688. client := pb.NewGoVpnClientClient(m.cli.Conn())
  689. return client.VpnServerUpdate(ctx, in, opts...)
  690. }
  691. func (m *defaultGoVpnClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  692. client := pb.NewGoVpnClientClient(m.cli.Conn())
  693. return client.VpnServerDel(ctx, in, opts...)
  694. }
  695. func (m *defaultGoVpnClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) {
  696. client := pb.NewGoVpnClientClient(m.cli.Conn())
  697. return client.VpnServerGet(ctx, in, opts...)
  698. }
  699. func (m *defaultGoVpnClient) VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error) {
  700. client := pb.NewGoVpnClientClient(m.cli.Conn())
  701. return client.VpnServerExGet(ctx, in, opts...)
  702. }
  703. func (m *defaultGoVpnClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) {
  704. client := pb.NewGoVpnClientClient(m.cli.Conn())
  705. return client.VpnServerList(ctx, in, opts...)
  706. }
  707. func (m *defaultGoVpnClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) {
  708. client := pb.NewGoVpnClientClient(m.cli.Conn())
  709. return client.VpnServerExList(ctx, in, opts...)
  710. }
  711. func (m *defaultGoVpnClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) {
  712. client := pb.NewGoVpnClientClient(m.cli.Conn())
  713. return client.VpnServerBatchAdd(ctx, in, opts...)
  714. }
  715. func (m *defaultGoVpnClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) {
  716. client := pb.NewGoVpnClientClient(m.cli.Conn())
  717. return client.VpnServerBatchUpdate(ctx, in, opts...)
  718. }
  719. // VpnServerLocation Model
  720. func (m *defaultGoVpnClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  721. client := pb.NewGoVpnClientClient(m.cli.Conn())
  722. return client.VpnServerLocationAdd(ctx, in, opts...)
  723. }
  724. func (m *defaultGoVpnClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  725. client := pb.NewGoVpnClientClient(m.cli.Conn())
  726. return client.VpnServerLocationUpdate(ctx, in, opts...)
  727. }
  728. func (m *defaultGoVpnClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  729. client := pb.NewGoVpnClientClient(m.cli.Conn())
  730. return client.VpnServerLocationDel(ctx, in, opts...)
  731. }
  732. func (m *defaultGoVpnClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  733. client := pb.NewGoVpnClientClient(m.cli.Conn())
  734. return client.VpnServerLocationGet(ctx, in, opts...)
  735. }
  736. func (m *defaultGoVpnClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) {
  737. client := pb.NewGoVpnClientClient(m.cli.Conn())
  738. return client.VpnServerLocationList(ctx, in, opts...)
  739. }
  740. func (m *defaultGoVpnClient) VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error) {
  741. client := pb.NewGoVpnClientClient(m.cli.Conn())
  742. return client.VpnWithIPAndPort(ctx, in, opts...)
  743. }
  744. // VpnLocationServerCount
  745. func (m *defaultGoVpnClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) {
  746. client := pb.NewGoVpnClientClient(m.cli.Conn())
  747. return client.VpnLocationServerCount(ctx, in, opts...)
  748. }
  749. // VpnProbeTask Model
  750. func (m *defaultGoVpnClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) {
  751. client := pb.NewGoVpnClientClient(m.cli.Conn())
  752. return client.VpnProbeTaskAdd(ctx, in, opts...)
  753. }
  754. func (m *defaultGoVpnClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) {
  755. client := pb.NewGoVpnClientClient(m.cli.Conn())
  756. return client.VpnProbeTaskUpdate(ctx, in, opts...)
  757. }
  758. func (m *defaultGoVpnClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) {
  759. client := pb.NewGoVpnClientClient(m.cli.Conn())
  760. return client.VpnProbeTaskList(ctx, in, opts...)
  761. }
  762. // VpnipWalled Model
  763. func (m *defaultGoVpnClient) VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error) {
  764. client := pb.NewGoVpnClientClient(m.cli.Conn())
  765. return client.VpnipWalledAdd(ctx, in, opts...)
  766. }
  767. func (m *defaultGoVpnClient) VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error) {
  768. client := pb.NewGoVpnClientClient(m.cli.Conn())
  769. return client.VpnipWalledUpdate(ctx, in, opts...)
  770. }
  771. func (m *defaultGoVpnClient) VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  772. client := pb.NewGoVpnClientClient(m.cli.Conn())
  773. return client.VpnipWalledDel(ctx, in, opts...)
  774. }
  775. func (m *defaultGoVpnClient) VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error) {
  776. client := pb.NewGoVpnClientClient(m.cli.Conn())
  777. return client.VpnipWalledGet(ctx, in, opts...)
  778. }
  779. func (m *defaultGoVpnClient) VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error) {
  780. client := pb.NewGoVpnClientClient(m.cli.Conn())
  781. return client.VpnipWalledList(ctx, in, opts...)
  782. }
  783. func (m *defaultGoVpnClient) VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error) {
  784. client := pb.NewGoVpnClientClient(m.cli.Conn())
  785. return client.VpnipWalledBatchAdd(ctx, in, opts...)
  786. }
  787. func (m *defaultGoVpnClient) VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error) {
  788. client := pb.NewGoVpnClientClient(m.cli.Conn())
  789. return client.VpnipWalledBatchUpdate(ctx, in, opts...)
  790. }
  791. // Vpnip Model
  792. func (m *defaultGoVpnClient) VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error) {
  793. client := pb.NewGoVpnClientClient(m.cli.Conn())
  794. return client.VpnipAdd(ctx, in, opts...)
  795. }
  796. func (m *defaultGoVpnClient) VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error) {
  797. client := pb.NewGoVpnClientClient(m.cli.Conn())
  798. return client.VpnipExAdd(ctx, in, opts...)
  799. }
  800. func (m *defaultGoVpnClient) VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error) {
  801. client := pb.NewGoVpnClientClient(m.cli.Conn())
  802. return client.VpnipUpdate(ctx, in, opts...)
  803. }
  804. func (m *defaultGoVpnClient) VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error) {
  805. client := pb.NewGoVpnClientClient(m.cli.Conn())
  806. return client.VpnipExUpdate(ctx, in, opts...)
  807. }
  808. func (m *defaultGoVpnClient) VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  809. client := pb.NewGoVpnClientClient(m.cli.Conn())
  810. return client.VpnipDel(ctx, in, opts...)
  811. }
  812. func (m *defaultGoVpnClient) VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error) {
  813. client := pb.NewGoVpnClientClient(m.cli.Conn())
  814. return client.VpnipGet(ctx, in, opts...)
  815. }
  816. func (m *defaultGoVpnClient) VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error) {
  817. client := pb.NewGoVpnClientClient(m.cli.Conn())
  818. return client.VpnipExGet(ctx, in, opts...)
  819. }
  820. func (m *defaultGoVpnClient) VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error) {
  821. client := pb.NewGoVpnClientClient(m.cli.Conn())
  822. return client.VpnipList(ctx, in, opts...)
  823. }
  824. func (m *defaultGoVpnClient) VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error) {
  825. client := pb.NewGoVpnClientClient(m.cli.Conn())
  826. return client.VpnipExList(ctx, in, opts...)
  827. }
  828. func (m *defaultGoVpnClient) VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error) {
  829. client := pb.NewGoVpnClientClient(m.cli.Conn())
  830. return client.VpnipBatchAdd(ctx, in, opts...)
  831. }
  832. func (m *defaultGoVpnClient) VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error) {
  833. client := pb.NewGoVpnClientClient(m.cli.Conn())
  834. return client.VpnipBatchUpdate(ctx, in, opts...)
  835. }
  836. func (m *defaultGoVpnClient) VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error) {
  837. client := pb.NewGoVpnClientClient(m.cli.Conn())
  838. return client.VpnipExBatchAdd(ctx, in, opts...)
  839. }
  840. func (m *defaultGoVpnClient) VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error) {
  841. client := pb.NewGoVpnClientClient(m.cli.Conn())
  842. return client.VpnipExBatchUpdate(ctx, in, opts...)
  843. }
  844. // VpnipRange Model
  845. func (m *defaultGoVpnClient) VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error) {
  846. client := pb.NewGoVpnClientClient(m.cli.Conn())
  847. return client.VpnipRangeAdd(ctx, in, opts...)
  848. }
  849. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  850. func (m *defaultGoVpnClient) VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error) {
  851. client := pb.NewGoVpnClientClient(m.cli.Conn())
  852. return client.VpnipRangeExAdd(ctx, in, opts...)
  853. }
  854. func (m *defaultGoVpnClient) VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error) {
  855. client := pb.NewGoVpnClientClient(m.cli.Conn())
  856. return client.VpnipRangeUpdate(ctx, in, opts...)
  857. }
  858. func (m *defaultGoVpnClient) VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error) {
  859. client := pb.NewGoVpnClientClient(m.cli.Conn())
  860. return client.VpnipRangeExUpdate(ctx, in, opts...)
  861. }
  862. func (m *defaultGoVpnClient) VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  863. client := pb.NewGoVpnClientClient(m.cli.Conn())
  864. return client.VpnipRangeDel(ctx, in, opts...)
  865. }
  866. func (m *defaultGoVpnClient) VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error) {
  867. client := pb.NewGoVpnClientClient(m.cli.Conn())
  868. return client.VpnipRangeGet(ctx, in, opts...)
  869. }
  870. func (m *defaultGoVpnClient) VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error) {
  871. client := pb.NewGoVpnClientClient(m.cli.Conn())
  872. return client.VpnipRangeExGet(ctx, in, opts...)
  873. }
  874. func (m *defaultGoVpnClient) VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error) {
  875. client := pb.NewGoVpnClientClient(m.cli.Conn())
  876. return client.VpnipRangeList(ctx, in, opts...)
  877. }
  878. func (m *defaultGoVpnClient) VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error) {
  879. client := pb.NewGoVpnClientClient(m.cli.Conn())
  880. return client.VpnipRangeExList(ctx, in, opts...)
  881. }
  882. func (m *defaultGoVpnClient) VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error) {
  883. client := pb.NewGoVpnClientClient(m.cli.Conn())
  884. return client.VpnipRangeBatchAdd(ctx, in, opts...)
  885. }
  886. func (m *defaultGoVpnClient) VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error) {
  887. client := pb.NewGoVpnClientClient(m.cli.Conn())
  888. return client.VpnipRangeExBatchAdd(ctx, in, opts...)
  889. }
  890. func (m *defaultGoVpnClient) VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error) {
  891. client := pb.NewGoVpnClientClient(m.cli.Conn())
  892. return client.VpnipRangeBatchUpdate(ctx, in, opts...)
  893. }
  894. func (m *defaultGoVpnClient) VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error) {
  895. client := pb.NewGoVpnClientClient(m.cli.Conn())
  896. return client.VpnipRangeExBatchUpdate(ctx, in, opts...)
  897. }
  898. // VpnipBind Model
  899. func (m *defaultGoVpnClient) VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error) {
  900. client := pb.NewGoVpnClientClient(m.cli.Conn())
  901. return client.VpnipBindAdd(ctx, in, opts...)
  902. }
  903. func (m *defaultGoVpnClient) VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error) {
  904. client := pb.NewGoVpnClientClient(m.cli.Conn())
  905. return client.VpnipBindUpdate(ctx, in, opts...)
  906. }
  907. func (m *defaultGoVpnClient) VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  908. client := pb.NewGoVpnClientClient(m.cli.Conn())
  909. return client.VpnipBindDel(ctx, in, opts...)
  910. }
  911. func (m *defaultGoVpnClient) VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error) {
  912. client := pb.NewGoVpnClientClient(m.cli.Conn())
  913. return client.VpnipBindGet(ctx, in, opts...)
  914. }
  915. func (m *defaultGoVpnClient) VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error) {
  916. client := pb.NewGoVpnClientClient(m.cli.Conn())
  917. return client.VpnipBindList(ctx, in, opts...)
  918. }
  919. func (m *defaultGoVpnClient) VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error) {
  920. client := pb.NewGoVpnClientClient(m.cli.Conn())
  921. return client.VpnipBindBatchUpdate(ctx, in, opts...)
  922. }
  923. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  924. func (m *defaultGoVpnClient) VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error) {
  925. client := pb.NewGoVpnClientClient(m.cli.Conn())
  926. return client.VpnipsBindServer(ctx, in, opts...)
  927. }
  928. // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
  929. func (m *defaultGoVpnClient) VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error) {
  930. client := pb.NewGoVpnClientClient(m.cli.Conn())
  931. return client.VpnConfigTemplatePlanAdd(ctx, in, opts...)
  932. }
  933. // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
  934. func (m *defaultGoVpnClient) VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error) {
  935. client := pb.NewGoVpnClientClient(m.cli.Conn())
  936. return client.VpnConfigTemplatePlanUpdate(ctx, in, opts...)
  937. }
  938. // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
  939. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
  940. client := pb.NewGoVpnClientClient(m.cli.Conn())
  941. return client.VpnConfigTemplatePlanDel(ctx, in, opts...)
  942. }
  943. // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
  944. func (m *defaultGoVpnClient) VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error) {
  945. client := pb.NewGoVpnClientClient(m.cli.Conn())
  946. return client.VpnConfigTemplatePlanGet(ctx, in, opts...)
  947. }
  948. // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
  949. func (m *defaultGoVpnClient) VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error) {
  950. client := pb.NewGoVpnClientClient(m.cli.Conn())
  951. return client.VpnConfigTemplatePlanList(ctx, in, opts...)
  952. }
  953. // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
  954. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error) {
  955. client := pb.NewGoVpnClientClient(m.cli.Conn())
  956. return client.VpnConfigTemplatePlanDetailAdd(ctx, in, opts...)
  957. }
  958. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error) {
  959. client := pb.NewGoVpnClientClient(m.cli.Conn())
  960. return client.VpnConfigTemplatePlanDetailUpdate(ctx, in, opts...)
  961. }
  962. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error) {
  963. client := pb.NewGoVpnClientClient(m.cli.Conn())
  964. return client.VpnConfigTemplatePlanDetailDel(ctx, in, opts...)
  965. }
  966. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error) {
  967. client := pb.NewGoVpnClientClient(m.cli.Conn())
  968. return client.VpnConfigTemplatePlanDetailGet(ctx, in, opts...)
  969. }
  970. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error) {
  971. client := pb.NewGoVpnClientClient(m.cli.Conn())
  972. return client.VpnConfigTemplatePlanDetailList(ctx, in, opts...)
  973. }