go_vpn_client.go 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162
  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. ServiceBoxAddReq = pb.ServiceBoxAddReq
  133. ServiceBoxAddResp = pb.ServiceBoxAddResp
  134. ServiceBoxAddWithDetailsReq = pb.ServiceBoxAddWithDetailsReq
  135. ServiceBoxAddWithDetailsResp = pb.ServiceBoxAddWithDetailsResp
  136. ServiceBoxDelReq = pb.ServiceBoxDelReq
  137. ServiceBoxGetReq = pb.ServiceBoxGetReq
  138. ServiceBoxGetResp = pb.ServiceBoxGetResp
  139. ServiceBoxGetWithDetailsReq = pb.ServiceBoxGetWithDetailsReq
  140. ServiceBoxGetWithDetailsResp = pb.ServiceBoxGetWithDetailsResp
  141. ServiceBoxListReq = pb.ServiceBoxListReq
  142. ServiceBoxListResp = pb.ServiceBoxListResp
  143. ServiceBoxTypesAddReq = pb.ServiceBoxTypesAddReq
  144. ServiceBoxTypesAddResp = pb.ServiceBoxTypesAddResp
  145. ServiceBoxTypesDelReq = pb.ServiceBoxTypesDelReq
  146. ServiceBoxTypesGetReq = pb.ServiceBoxTypesGetReq
  147. ServiceBoxTypesGetResp = pb.ServiceBoxTypesGetResp
  148. ServiceBoxTypesListReq = pb.ServiceBoxTypesListReq
  149. ServiceBoxTypesListResp = pb.ServiceBoxTypesListResp
  150. ServiceBoxTypesUpdateReq = pb.ServiceBoxTypesUpdateReq
  151. ServiceBoxTypesUpdateResp = pb.ServiceBoxTypesUpdateResp
  152. ServiceBoxTypesVo = pb.ServiceBoxTypesVo
  153. ServiceBoxUpdateReq = pb.ServiceBoxUpdateReq
  154. ServiceBoxUpdateResp = pb.ServiceBoxUpdateResp
  155. ServiceBoxUpdateWithDetailsReq = pb.ServiceBoxUpdateWithDetailsReq
  156. ServiceBoxUpdateWithDetailsResp = pb.ServiceBoxUpdateWithDetailsResp
  157. ServiceBoxVo = pb.ServiceBoxVo
  158. ServiceBoxWithDetailsVo = pb.ServiceBoxWithDetailsVo
  159. ServiceBoxWithDurationVo = pb.ServiceBoxWithDurationVo
  160. ServicePlanAddReq = pb.ServicePlanAddReq
  161. ServicePlanAddResp = pb.ServicePlanAddResp
  162. ServicePlanAddWithBoxesReq = pb.ServicePlanAddWithBoxesReq
  163. ServicePlanAddWithBoxesResp = pb.ServicePlanAddWithBoxesResp
  164. ServicePlanBoxesAddReq = pb.ServicePlanBoxesAddReq
  165. ServicePlanBoxesAddResp = pb.ServicePlanBoxesAddResp
  166. ServicePlanBoxesDelReq = pb.ServicePlanBoxesDelReq
  167. ServicePlanBoxesGetReq = pb.ServicePlanBoxesGetReq
  168. ServicePlanBoxesGetResp = pb.ServicePlanBoxesGetResp
  169. ServicePlanBoxesListReq = pb.ServicePlanBoxesListReq
  170. ServicePlanBoxesListResp = pb.ServicePlanBoxesListResp
  171. ServicePlanBoxesUpdateReq = pb.ServicePlanBoxesUpdateReq
  172. ServicePlanBoxesUpdateResp = pb.ServicePlanBoxesUpdateResp
  173. ServicePlanBoxesVo = pb.ServicePlanBoxesVo
  174. ServicePlanChannelAddReq = pb.ServicePlanChannelAddReq
  175. ServicePlanChannelAddResp = pb.ServicePlanChannelAddResp
  176. ServicePlanChannelDelReq = pb.ServicePlanChannelDelReq
  177. ServicePlanChannelGetReq = pb.ServicePlanChannelGetReq
  178. ServicePlanChannelGetResp = pb.ServicePlanChannelGetResp
  179. ServicePlanChannelListReq = pb.ServicePlanChannelListReq
  180. ServicePlanChannelListResp = pb.ServicePlanChannelListResp
  181. ServicePlanChannelUpdateReq = pb.ServicePlanChannelUpdateReq
  182. ServicePlanChannelUpdateResp = pb.ServicePlanChannelUpdateResp
  183. ServicePlanChannelVo = pb.ServicePlanChannelVo
  184. ServicePlanDelReq = pb.ServicePlanDelReq
  185. ServicePlanGetReq = pb.ServicePlanGetReq
  186. ServicePlanGetResp = pb.ServicePlanGetResp
  187. ServicePlanGetWithBoxesReq = pb.ServicePlanGetWithBoxesReq
  188. ServicePlanGetWithBoxesResp = pb.ServicePlanGetWithBoxesResp
  189. ServicePlanListReq = pb.ServicePlanListReq
  190. ServicePlanListResp = pb.ServicePlanListResp
  191. ServicePlanListWithBoxesReq = pb.ServicePlanListWithBoxesReq
  192. ServicePlanListWithBoxesResp = pb.ServicePlanListWithBoxesResp
  193. ServicePlanUpdateReq = pb.ServicePlanUpdateReq
  194. ServicePlanUpdateResp = pb.ServicePlanUpdateResp
  195. ServicePlanUpdateWithBoxesReq = pb.ServicePlanUpdateWithBoxesReq
  196. ServicePlanUpdateWithBoxesResp = pb.ServicePlanUpdateWithBoxesResp
  197. ServicePlanVo = pb.ServicePlanVo
  198. ServicePlanWithBoxesVo = pb.ServicePlanWithBoxesVo
  199. ServiceTypesAddReq = pb.ServiceTypesAddReq
  200. ServiceTypesAddResp = pb.ServiceTypesAddResp
  201. ServiceTypesDelReq = pb.ServiceTypesDelReq
  202. ServiceTypesGetReq = pb.ServiceTypesGetReq
  203. ServiceTypesGetResp = pb.ServiceTypesGetResp
  204. ServiceTypesListReq = pb.ServiceTypesListReq
  205. ServiceTypesListResp = pb.ServiceTypesListResp
  206. ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq
  207. ServiceTypesUpdateResp = pb.ServiceTypesUpdateResp
  208. ServiceTypesVo = pb.ServiceTypesVo
  209. ServiceTypesWithValueVo = pb.ServiceTypesWithValueVo
  210. SetTotalStatsReq = pb.SetTotalStatsReq
  211. ShortDramaCheckNameReq = pb.ShortDramaCheckNameReq
  212. ShortDramaCheckNameResp = pb.ShortDramaCheckNameResp
  213. ShortDramaCopyrightInfoVo = pb.ShortDramaCopyrightInfoVo
  214. ShortDramaEpisodeBatchAddReq = pb.ShortDramaEpisodeBatchAddReq
  215. ShortDramaEpisodeBatchRefreshUpdateTimeReq = pb.ShortDramaEpisodeBatchRefreshUpdateTimeReq
  216. ShortDramaEpisodeCountReq = pb.ShortDramaEpisodeCountReq
  217. ShortDramaEpisodeCountResp = pb.ShortDramaEpisodeCountResp
  218. ShortDramaEpisodeCountVo = pb.ShortDramaEpisodeCountVo
  219. ShortDramaEpisodeGetReq = pb.ShortDramaEpisodeGetReq
  220. ShortDramaEpisodeListReq = pb.ShortDramaEpisodeListReq
  221. ShortDramaEpisodeListResp = pb.ShortDramaEpisodeListResp
  222. ShortDramaEpisodeVo = pb.ShortDramaEpisodeVo
  223. ShortDramaFindIdsWithCopyrightResp = pb.ShortDramaFindIdsWithCopyrightResp
  224. ShortDramaGetReq = pb.ShortDramaGetReq
  225. ShortDramaLanguageListReq = pb.ShortDramaLanguageListReq
  226. ShortDramaLanguageListResp = pb.ShortDramaLanguageListResp
  227. ShortDramaLanguageVo = pb.ShortDramaLanguageVo
  228. ShortDramaListReq = pb.ShortDramaListReq
  229. ShortDramaListResp = pb.ShortDramaListResp
  230. ShortDramaStatsPlaysTotalListReq = pb.ShortDramaStatsPlaysTotalListReq
  231. ShortDramaStatsPlaysTotalListResp = pb.ShortDramaStatsPlaysTotalListResp
  232. ShortDramaStatsPlaysTotalVo = pb.ShortDramaStatsPlaysTotalVo
  233. ShortDramaUpdateModifierReq = pb.ShortDramaUpdateModifierReq
  234. ShortDramaUpdateReleaseRegionsReq = pb.ShortDramaUpdateReleaseRegionsReq
  235. ShortDramaVo = pb.ShortDramaVo
  236. StringSelectController = pb.StringSelectController
  237. SysPermGetReq = pb.SysPermGetReq
  238. SysPermListReq = pb.SysPermListReq
  239. SysPermListResp = pb.SysPermListResp
  240. SysPermRule = pb.SysPermRule
  241. SysPermVo = pb.SysPermVo
  242. SysRoleGetReq = pb.SysRoleGetReq
  243. SysRoleListReq = pb.SysRoleListReq
  244. SysRoleListResp = pb.SysRoleListResp
  245. SysRoleListWithPermsResp = pb.SysRoleListWithPermsResp
  246. SysRolePermGetReq = pb.SysRolePermGetReq
  247. SysRolePermListReq = pb.SysRolePermListReq
  248. SysRolePermListResp = pb.SysRolePermListResp
  249. SysRolePermVo = pb.SysRolePermVo
  250. SysRoleVo = pb.SysRoleVo
  251. SysRoleWithPermIds = pb.SysRoleWithPermIds
  252. SysRoleWithPerms = pb.SysRoleWithPerms
  253. SysUserGetReq = pb.SysUserGetReq
  254. SysUserListReq = pb.SysUserListReq
  255. SysUserListResp = pb.SysUserListResp
  256. SysUserListWithRolesAndPermsResp = pb.SysUserListWithRolesAndPermsResp
  257. SysUserPermGetReq = pb.SysUserPermGetReq
  258. SysUserPermListReq = pb.SysUserPermListReq
  259. SysUserPermListResp = pb.SysUserPermListResp
  260. SysUserPermVo = pb.SysUserPermVo
  261. SysUserRoleGetReq = pb.SysUserRoleGetReq
  262. SysUserRoleListReq = pb.SysUserRoleListReq
  263. SysUserRoleListResp = pb.SysUserRoleListResp
  264. SysUserRoleVo = pb.SysUserRoleVo
  265. SysUserVo = pb.SysUserVo
  266. SysUserWithRoleIdsAndPermRules = pb.SysUserWithRoleIdsAndPermRules
  267. SysUserWithRolesAndPerms = pb.SysUserWithRolesAndPerms
  268. TimeRange = pb.TimeRange
  269. TipGetReq = pb.TipGetReq
  270. TipListReq = pb.TipListReq
  271. TipListResp = pb.TipListResp
  272. TipVo = pb.TipVo
  273. TransactionOperation = pb.TransactionOperation
  274. TransactionReq = pb.TransactionReq
  275. UpgradePkgPlanDetailListReq = pb.UpgradePkgPlanDetailListReq
  276. UpgradePkgPlanDetailListResp = pb.UpgradePkgPlanDetailListResp
  277. UpgradePkgPlanDetailVo = pb.UpgradePkgPlanDetailVo
  278. UpgradePkgPlanListReq = pb.UpgradePkgPlanListReq
  279. UpgradePkgPlanListResp = pb.UpgradePkgPlanListResp
  280. UpgradePkgPlanVo = pb.UpgradePkgPlanVo
  281. UpgradeResPlanDetailListReq = pb.UpgradeResPlanDetailListReq
  282. UpgradeResPlanDetailListResp = pb.UpgradeResPlanDetailListResp
  283. UpgradeResPlanDetailVo = pb.UpgradeResPlanDetailVo
  284. UpgradeResPlanListReq = pb.UpgradeResPlanListReq
  285. UpgradeResPlanListResp = pb.UpgradeResPlanListResp
  286. UpgradeResPlanVo = pb.UpgradeResPlanVo
  287. UserAddReq = pb.UserAddReq
  288. UserAddResp = pb.UserAddResp
  289. UserAppConfigGetReq = pb.UserAppConfigGetReq
  290. UserAppConfigListReq = pb.UserAppConfigListReq
  291. UserAppConfigListRes = pb.UserAppConfigListRes
  292. UserAppConfigVo = pb.UserAppConfigVo
  293. UserAuthLogAddReq = pb.UserAuthLogAddReq
  294. UserAuthLogAddResp = pb.UserAuthLogAddResp
  295. UserAuthLogDelReq = pb.UserAuthLogDelReq
  296. UserAuthLogGetReq = pb.UserAuthLogGetReq
  297. UserAuthLogGetResp = pb.UserAuthLogGetResp
  298. UserAuthLogListReq = pb.UserAuthLogListReq
  299. UserAuthLogListResp = pb.UserAuthLogListResp
  300. UserAuthLogUpdateReq = pb.UserAuthLogUpdateReq
  301. UserAuthLogUpdateResp = pb.UserAuthLogUpdateResp
  302. UserAuthLogVo = pb.UserAuthLogVo
  303. UserCredentialAddReq = pb.UserCredentialAddReq
  304. UserCredentialAddResp = pb.UserCredentialAddResp
  305. UserCredentialDelReq = pb.UserCredentialDelReq
  306. UserCredentialGetReq = pb.UserCredentialGetReq
  307. UserCredentialGetResp = pb.UserCredentialGetResp
  308. UserCredentialListReq = pb.UserCredentialListReq
  309. UserCredentialListResp = pb.UserCredentialListResp
  310. UserCredentialUpdateReq = pb.UserCredentialUpdateReq
  311. UserCredentialUpdateResp = pb.UserCredentialUpdateResp
  312. UserCredentialVo = pb.UserCredentialVo
  313. UserDelReq = pb.UserDelReq
  314. UserDeviceAddReq = pb.UserDeviceAddReq
  315. UserDeviceAddResp = pb.UserDeviceAddResp
  316. UserDeviceDelReq = pb.UserDeviceDelReq
  317. UserDeviceGetReq = pb.UserDeviceGetReq
  318. UserDeviceGetResp = pb.UserDeviceGetResp
  319. UserDeviceListReq = pb.UserDeviceListReq
  320. UserDeviceListResp = pb.UserDeviceListResp
  321. UserDeviceUpdateReq = pb.UserDeviceUpdateReq
  322. UserDeviceUpdateResp = pb.UserDeviceUpdateResp
  323. UserDeviceVo = pb.UserDeviceVo
  324. UserGetReq = pb.UserGetReq
  325. UserGetResp = pb.UserGetResp
  326. UserListReq = pb.UserListReq
  327. UserListResp = pb.UserListResp
  328. UserPayOrderAddReq = pb.UserPayOrderAddReq
  329. UserPayOrderAddResp = pb.UserPayOrderAddResp
  330. UserPayOrderDelReq = pb.UserPayOrderDelReq
  331. UserPayOrderGetReq = pb.UserPayOrderGetReq
  332. UserPayOrderGetResp = pb.UserPayOrderGetResp
  333. UserPayOrderListReq = pb.UserPayOrderListReq
  334. UserPayOrderListResp = pb.UserPayOrderListResp
  335. UserPayOrderUpdateReq = pb.UserPayOrderUpdateReq
  336. UserPayOrderUpdateResp = pb.UserPayOrderUpdateResp
  337. UserPayOrderVo = pb.UserPayOrderVo
  338. UserServiceAddReq = pb.UserServiceAddReq
  339. UserServiceAddResp = pb.UserServiceAddResp
  340. UserServiceDelReq = pb.UserServiceDelReq
  341. UserServiceGetReq = pb.UserServiceGetReq
  342. UserServiceGetResp = pb.UserServiceGetResp
  343. UserServiceListReq = pb.UserServiceListReq
  344. UserServiceListResp = pb.UserServiceListResp
  345. UserServiceUpdateReq = pb.UserServiceUpdateReq
  346. UserServiceUpdateResp = pb.UserServiceUpdateResp
  347. UserServiceVo = pb.UserServiceVo
  348. UserTestAddReq = pb.UserTestAddReq
  349. UserTestAddResp = pb.UserTestAddResp
  350. UserTestDelReq = pb.UserTestDelReq
  351. UserTestGetReq = pb.UserTestGetReq
  352. UserTestGetResp = pb.UserTestGetResp
  353. UserTestListReq = pb.UserTestListReq
  354. UserTestListResp = pb.UserTestListResp
  355. UserTestUpdateReq = pb.UserTestUpdateReq
  356. UserTestUpdateResp = pb.UserTestUpdateResp
  357. UserTestVo = pb.UserTestVo
  358. UserUpdateReq = pb.UserUpdateReq
  359. UserUpdateResp = pb.UserUpdateResp
  360. UserVo = pb.UserVo
  361. UserWhiteAddReq = pb.UserWhiteAddReq
  362. UserWhiteAddResp = pb.UserWhiteAddResp
  363. UserWhiteDelReq = pb.UserWhiteDelReq
  364. UserWhiteGetReq = pb.UserWhiteGetReq
  365. UserWhiteGetResp = pb.UserWhiteGetResp
  366. UserWhiteListReq = pb.UserWhiteListReq
  367. UserWhiteListResp = pb.UserWhiteListResp
  368. UserWhiteUpdateReq = pb.UserWhiteUpdateReq
  369. UserWhiteUpdateResp = pb.UserWhiteUpdateResp
  370. UserWhiteVo = pb.UserWhiteVo
  371. VpnConfigTemplatePlanAddReq = pb.VpnConfigTemplatePlanAddReq
  372. VpnConfigTemplatePlanAddResp = pb.VpnConfigTemplatePlanAddResp
  373. VpnConfigTemplatePlanDelReq = pb.VpnConfigTemplatePlanDelReq
  374. VpnConfigTemplatePlanDetailAddReq = pb.VpnConfigTemplatePlanDetailAddReq
  375. VpnConfigTemplatePlanDetailAddResp = pb.VpnConfigTemplatePlanDetailAddResp
  376. VpnConfigTemplatePlanDetailDelReq = pb.VpnConfigTemplatePlanDetailDelReq
  377. VpnConfigTemplatePlanDetailGetReq = pb.VpnConfigTemplatePlanDetailGetReq
  378. VpnConfigTemplatePlanDetailGetResp = pb.VpnConfigTemplatePlanDetailGetResp
  379. VpnConfigTemplatePlanDetailListReq = pb.VpnConfigTemplatePlanDetailListReq
  380. VpnConfigTemplatePlanDetailListResp = pb.VpnConfigTemplatePlanDetailListResp
  381. VpnConfigTemplatePlanDetailUpdateReq = pb.VpnConfigTemplatePlanDetailUpdateReq
  382. VpnConfigTemplatePlanDetailUpdateResp = pb.VpnConfigTemplatePlanDetailUpdateResp
  383. VpnConfigTemplatePlanDetailVo = pb.VpnConfigTemplatePlanDetailVo
  384. VpnConfigTemplatePlanGetReq = pb.VpnConfigTemplatePlanGetReq
  385. VpnConfigTemplatePlanGetResp = pb.VpnConfigTemplatePlanGetResp
  386. VpnConfigTemplatePlanListReq = pb.VpnConfigTemplatePlanListReq
  387. VpnConfigTemplatePlanListResp = pb.VpnConfigTemplatePlanListResp
  388. VpnConfigTemplatePlanUpdateReq = pb.VpnConfigTemplatePlanUpdateReq
  389. VpnConfigTemplatePlanUpdateResp = pb.VpnConfigTemplatePlanUpdateResp
  390. VpnConfigTemplatePlanVo = pb.VpnConfigTemplatePlanVo
  391. VpnGroupAddReq = pb.VpnGroupAddReq
  392. VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq
  393. VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp
  394. VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq
  395. VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq
  396. VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp
  397. VpnGroupExVo = pb.VpnGroupExVo
  398. VpnGroupGetReq = pb.VpnGroupGetReq
  399. VpnGroupListReq = pb.VpnGroupListReq
  400. VpnGroupListResp = pb.VpnGroupListResp
  401. VpnGroupTagListReq = pb.VpnGroupTagListReq
  402. VpnGroupTagListResp = pb.VpnGroupTagListResp
  403. VpnGroupTagVo = pb.VpnGroupTagVo
  404. VpnGroupVo = pb.VpnGroupVo
  405. VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq
  406. VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp
  407. VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq
  408. VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq
  409. VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp
  410. VpnLocationExVo = pb.VpnLocationExVo
  411. VpnLocationGetReq = pb.VpnLocationGetReq
  412. VpnLocationListReq = pb.VpnLocationListReq
  413. VpnLocationListResp = pb.VpnLocationListResp
  414. VpnLocationServerCountReq = pb.VpnLocationServerCountReq
  415. VpnLocationServerCountResp = pb.VpnLocationServerCountResp
  416. VpnLocationServerCountVo = pb.VpnLocationServerCountVo
  417. VpnLocationVo = pb.VpnLocationVo
  418. VpnProbeTaskListReq = pb.VpnProbeTaskListReq
  419. VpnProbeTaskListResp = pb.VpnProbeTaskListResp
  420. VpnProbeTaskVo = pb.VpnProbeTaskVo
  421. VpnServerAddReq = pb.VpnServerAddReq
  422. VpnServerBatchAddReq = pb.VpnServerBatchAddReq
  423. VpnServerBatchAddResp = pb.VpnServerBatchAddResp
  424. VpnServerBatchDelReq = pb.VpnServerBatchDelReq
  425. VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq
  426. VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp
  427. VpnServerExListResp = pb.VpnServerExListResp
  428. VpnServerExVo = pb.VpnServerExVo
  429. VpnServerListReq = pb.VpnServerListReq
  430. VpnServerListResp = pb.VpnServerListResp
  431. VpnServerLocationListReq = pb.VpnServerLocationListReq
  432. VpnServerLocationListResp = pb.VpnServerLocationListResp
  433. VpnServerLocationVo = pb.VpnServerLocationVo
  434. VpnServerVo = pb.VpnServerVo
  435. VpnTagBatchAddReq = pb.VpnTagBatchAddReq
  436. VpnTagBatchAddResp = pb.VpnTagBatchAddResp
  437. VpnTagBatchDelReq = pb.VpnTagBatchDelReq
  438. VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq
  439. VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp
  440. VpnTagGetReq = pb.VpnTagGetReq
  441. VpnTagListReq = pb.VpnTagListReq
  442. VpnTagListResp = pb.VpnTagListResp
  443. VpnTagVo = pb.VpnTagVo
  444. VpnWithIPAndPortReq = pb.VpnWithIPAndPortReq
  445. VpnWithIPAndPortResp = pb.VpnWithIPAndPortResp
  446. VpnipAddReq = pb.VpnipAddReq
  447. VpnipAddResp = pb.VpnipAddResp
  448. VpnipBatchAddReq = pb.VpnipBatchAddReq
  449. VpnipBatchAddResp = pb.VpnipBatchAddResp
  450. VpnipBatchUpdateReq = pb.VpnipBatchUpdateReq
  451. VpnipBatchUpdateResp = pb.VpnipBatchUpdateResp
  452. VpnipBindAddReq = pb.VpnipBindAddReq
  453. VpnipBindAddResp = pb.VpnipBindAddResp
  454. VpnipBindBatchAddReq = pb.VpnipBindBatchAddReq
  455. VpnipBindBatchAddResp = pb.VpnipBindBatchAddResp
  456. VpnipBindBatchUpdateReq = pb.VpnipBindBatchUpdateReq
  457. VpnipBindBatchUpdateResp = pb.VpnipBindBatchUpdateResp
  458. VpnipBindGetReq = pb.VpnipBindGetReq
  459. VpnipBindGetResp = pb.VpnipBindGetResp
  460. VpnipBindListReq = pb.VpnipBindListReq
  461. VpnipBindListResp = pb.VpnipBindListResp
  462. VpnipBindUpdateReq = pb.VpnipBindUpdateReq
  463. VpnipBindUpdateResp = pb.VpnipBindUpdateResp
  464. VpnipBindVo = pb.VpnipBindVo
  465. VpnipExAddReq = pb.VpnipExAddReq
  466. VpnipExAddResp = pb.VpnipExAddResp
  467. VpnipExBatchAddReq = pb.VpnipExBatchAddReq
  468. VpnipExBatchAddResp = pb.VpnipExBatchAddResp
  469. VpnipExBatchUpdateReq = pb.VpnipExBatchUpdateReq
  470. VpnipExBatchUpdateResp = pb.VpnipExBatchUpdateResp
  471. VpnipExGetResp = pb.VpnipExGetResp
  472. VpnipExListResp = pb.VpnipExListResp
  473. VpnipExUpdateReq = pb.VpnipExUpdateReq
  474. VpnipExUpdateResp = pb.VpnipExUpdateResp
  475. VpnipExVo = pb.VpnipExVo
  476. VpnipGetReq = pb.VpnipGetReq
  477. VpnipGetResp = pb.VpnipGetResp
  478. VpnipListReq = pb.VpnipListReq
  479. VpnipListResp = pb.VpnipListResp
  480. VpnipRangeAddReq = pb.VpnipRangeAddReq
  481. VpnipRangeAddResp = pb.VpnipRangeAddResp
  482. VpnipRangeBatchAddReq = pb.VpnipRangeBatchAddReq
  483. VpnipRangeBatchAddResp = pb.VpnipRangeBatchAddResp
  484. VpnipRangeBatchUpdateReq = pb.VpnipRangeBatchUpdateReq
  485. VpnipRangeBatchUpdateResp = pb.VpnipRangeBatchUpdateResp
  486. VpnipRangeExAddReq = pb.VpnipRangeExAddReq
  487. VpnipRangeExAddResp = pb.VpnipRangeExAddResp
  488. VpnipRangeExBatchAddReq = pb.VpnipRangeExBatchAddReq
  489. VpnipRangeExBatchAddResp = pb.VpnipRangeExBatchAddResp
  490. VpnipRangeExBatchUpdateReq = pb.VpnipRangeExBatchUpdateReq
  491. VpnipRangeExBatchUpdateResp = pb.VpnipRangeExBatchUpdateResp
  492. VpnipRangeExGetResp = pb.VpnipRangeExGetResp
  493. VpnipRangeExListResp = pb.VpnipRangeExListResp
  494. VpnipRangeExUpdateReq = pb.VpnipRangeExUpdateReq
  495. VpnipRangeExUpdateResp = pb.VpnipRangeExUpdateResp
  496. VpnipRangeExVo = pb.VpnipRangeExVo
  497. VpnipRangeGetReq = pb.VpnipRangeGetReq
  498. VpnipRangeGetResp = pb.VpnipRangeGetResp
  499. VpnipRangeListReq = pb.VpnipRangeListReq
  500. VpnipRangeListResp = pb.VpnipRangeListResp
  501. VpnipRangeUpdateReq = pb.VpnipRangeUpdateReq
  502. VpnipRangeUpdateResp = pb.VpnipRangeUpdateResp
  503. VpnipRangeVo = pb.VpnipRangeVo
  504. VpnipUpdateReq = pb.VpnipUpdateReq
  505. VpnipUpdateResp = pb.VpnipUpdateResp
  506. VpnipVo = pb.VpnipVo
  507. VpnipWalledAddReq = pb.VpnipWalledAddReq
  508. VpnipWalledAddResp = pb.VpnipWalledAddResp
  509. VpnipWalledBatchAddReq = pb.VpnipWalledBatchAddReq
  510. VpnipWalledBatchAddResp = pb.VpnipWalledBatchAddResp
  511. VpnipWalledBatchUpdateReq = pb.VpnipWalledBatchUpdateReq
  512. VpnipWalledBatchUpdateResp = pb.VpnipWalledBatchUpdateResp
  513. VpnipWalledGetReq = pb.VpnipWalledGetReq
  514. VpnipWalledGetResp = pb.VpnipWalledGetResp
  515. VpnipWalledListReq = pb.VpnipWalledListReq
  516. VpnipWalledListResp = pb.VpnipWalledListResp
  517. VpnipWalledUpdateReq = pb.VpnipWalledUpdateReq
  518. VpnipWalledUpdateResp = pb.VpnipWalledUpdateResp
  519. VpnipWalledVo = pb.VpnipWalledVo
  520. GoVpnClient interface {
  521. Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
  522. // 表的事务操作
  523. Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
  524. // VpnTagAdd
  525. VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  526. VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
  527. VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  528. VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error)
  529. VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
  530. VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
  531. VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
  532. // VpnGroupAdd
  533. VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  534. VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
  535. VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  536. VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
  537. VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
  538. VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
  539. VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
  540. // VpnGroupTagAdd
  541. VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  542. VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  543. VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  544. VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
  545. VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
  546. // VpnLocationAdd
  547. VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
  548. VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
  549. VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  550. VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error)
  551. VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
  552. VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
  553. VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
  554. // VpnServerAdd
  555. VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  556. VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
  557. VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  558. VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error)
  559. VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error)
  560. VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error)
  561. VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
  562. VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
  563. VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
  564. // VpnServerLocationAdd
  565. VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  566. VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
  567. VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  568. VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
  569. VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error)
  570. VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
  571. // VpnLocationServerCount
  572. VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
  573. // VpnProbeTaskAdd
  574. VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
  575. VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
  576. VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
  577. // VpnipWalledAdd
  578. VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
  579. VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
  580. VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  581. VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error)
  582. VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
  583. VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
  584. VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
  585. // VpnipAdd
  586. VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
  587. VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
  588. VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error)
  589. VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error)
  590. VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  591. VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error)
  592. VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error)
  593. VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error)
  594. VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error)
  595. VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error)
  596. VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
  597. VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
  598. VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
  599. // VpnipRangeAdd
  600. VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
  601. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  602. VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error)
  603. VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error)
  604. VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error)
  605. VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  606. VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error)
  607. VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error)
  608. VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error)
  609. VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error)
  610. VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error)
  611. VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
  612. VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
  613. VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
  614. // VpnipBindAdd
  615. VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
  616. VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
  617. VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
  618. VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error)
  619. VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error)
  620. VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
  621. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  622. VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
  623. // VpnConfigTemplatePlanAdd 添加配置模板及模板详情
  624. VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
  625. // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
  626. VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error)
  627. // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
  628. VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error)
  629. // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
  630. VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
  631. // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
  632. VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
  633. // VpnConfigTemplatePlanDetailAdd 添加模板详情
  634. VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
  635. VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
  636. VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
  637. VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
  638. VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
  639. }
  640. defaultGoVpnClient struct {
  641. cli zrpc.Client
  642. }
  643. )
  644. func NewGoVpnClient(cli zrpc.Client) GoVpnClient {
  645. return &defaultGoVpnClient{
  646. cli: cli,
  647. }
  648. }
  649. func (m *defaultGoVpnClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) {
  650. client := pb.NewGoVpnClientClient(m.cli.Conn())
  651. return client.Ping(ctx, in, opts...)
  652. }
  653. // 表的事务操作
  654. func (m *defaultGoVpnClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) {
  655. client := pb.NewGoVpnClientClient(m.cli.Conn())
  656. return client.Transaction(ctx, in, opts...)
  657. }
  658. // VpnTagAdd
  659. func (m *defaultGoVpnClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  660. client := pb.NewGoVpnClientClient(m.cli.Conn())
  661. return client.VpnTagAdd(ctx, in, opts...)
  662. }
  663. func (m *defaultGoVpnClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) {
  664. client := pb.NewGoVpnClientClient(m.cli.Conn())
  665. return client.VpnTagUpdate(ctx, in, opts...)
  666. }
  667. func (m *defaultGoVpnClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  668. client := pb.NewGoVpnClientClient(m.cli.Conn())
  669. return client.VpnTagDel(ctx, in, opts...)
  670. }
  671. func (m *defaultGoVpnClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) {
  672. client := pb.NewGoVpnClientClient(m.cli.Conn())
  673. return client.VpnTagGet(ctx, in, opts...)
  674. }
  675. func (m *defaultGoVpnClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) {
  676. client := pb.NewGoVpnClientClient(m.cli.Conn())
  677. return client.VpnTagList(ctx, in, opts...)
  678. }
  679. func (m *defaultGoVpnClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) {
  680. client := pb.NewGoVpnClientClient(m.cli.Conn())
  681. return client.VpnTagBatchAdd(ctx, in, opts...)
  682. }
  683. func (m *defaultGoVpnClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) {
  684. client := pb.NewGoVpnClientClient(m.cli.Conn())
  685. return client.VpnTagBatchUpdate(ctx, in, opts...)
  686. }
  687. // VpnGroupAdd
  688. func (m *defaultGoVpnClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  689. client := pb.NewGoVpnClientClient(m.cli.Conn())
  690. return client.VpnGroupAdd(ctx, in, opts...)
  691. }
  692. func (m *defaultGoVpnClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) {
  693. client := pb.NewGoVpnClientClient(m.cli.Conn())
  694. return client.VpnGroupUpdate(ctx, in, opts...)
  695. }
  696. func (m *defaultGoVpnClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  697. client := pb.NewGoVpnClientClient(m.cli.Conn())
  698. return client.VpnGroupDel(ctx, in, opts...)
  699. }
  700. func (m *defaultGoVpnClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) {
  701. client := pb.NewGoVpnClientClient(m.cli.Conn())
  702. return client.VpnGroupGet(ctx, in, opts...)
  703. }
  704. func (m *defaultGoVpnClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) {
  705. client := pb.NewGoVpnClientClient(m.cli.Conn())
  706. return client.VpnGroupList(ctx, in, opts...)
  707. }
  708. func (m *defaultGoVpnClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) {
  709. client := pb.NewGoVpnClientClient(m.cli.Conn())
  710. return client.VpnGroupBatchAdd(ctx, in, opts...)
  711. }
  712. func (m *defaultGoVpnClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) {
  713. client := pb.NewGoVpnClientClient(m.cli.Conn())
  714. return client.VpnGroupBatchUpdate(ctx, in, opts...)
  715. }
  716. // VpnGroupTagAdd
  717. func (m *defaultGoVpnClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  718. client := pb.NewGoVpnClientClient(m.cli.Conn())
  719. return client.VpnGroupTagAdd(ctx, in, opts...)
  720. }
  721. func (m *defaultGoVpnClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  722. client := pb.NewGoVpnClientClient(m.cli.Conn())
  723. return client.VpnGroupTagUpdate(ctx, in, opts...)
  724. }
  725. func (m *defaultGoVpnClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  726. client := pb.NewGoVpnClientClient(m.cli.Conn())
  727. return client.VpnGroupTagDel(ctx, in, opts...)
  728. }
  729. func (m *defaultGoVpnClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) {
  730. client := pb.NewGoVpnClientClient(m.cli.Conn())
  731. return client.VpnGroupTagGet(ctx, in, opts...)
  732. }
  733. func (m *defaultGoVpnClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) {
  734. client := pb.NewGoVpnClientClient(m.cli.Conn())
  735. return client.VpnGroupTagList(ctx, in, opts...)
  736. }
  737. // VpnLocationAdd
  738. func (m *defaultGoVpnClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  739. client := pb.NewGoVpnClientClient(m.cli.Conn())
  740. return client.VpnLocationAdd(ctx, in, opts...)
  741. }
  742. func (m *defaultGoVpnClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  743. client := pb.NewGoVpnClientClient(m.cli.Conn())
  744. return client.VpnLocationUpdate(ctx, in, opts...)
  745. }
  746. func (m *defaultGoVpnClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  747. client := pb.NewGoVpnClientClient(m.cli.Conn())
  748. return client.VpnLocationDel(ctx, in, opts...)
  749. }
  750. func (m *defaultGoVpnClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) {
  751. client := pb.NewGoVpnClientClient(m.cli.Conn())
  752. return client.VpnLocationGet(ctx, in, opts...)
  753. }
  754. func (m *defaultGoVpnClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) {
  755. client := pb.NewGoVpnClientClient(m.cli.Conn())
  756. return client.VpnLocationList(ctx, in, opts...)
  757. }
  758. func (m *defaultGoVpnClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) {
  759. client := pb.NewGoVpnClientClient(m.cli.Conn())
  760. return client.VpnLocationBatchAdd(ctx, in, opts...)
  761. }
  762. func (m *defaultGoVpnClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) {
  763. client := pb.NewGoVpnClientClient(m.cli.Conn())
  764. return client.VpnLocationBatchUpdate(ctx, in, opts...)
  765. }
  766. // VpnServerAdd
  767. func (m *defaultGoVpnClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  768. client := pb.NewGoVpnClientClient(m.cli.Conn())
  769. return client.VpnServerAdd(ctx, in, opts...)
  770. }
  771. func (m *defaultGoVpnClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) {
  772. client := pb.NewGoVpnClientClient(m.cli.Conn())
  773. return client.VpnServerUpdate(ctx, in, opts...)
  774. }
  775. func (m *defaultGoVpnClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  776. client := pb.NewGoVpnClientClient(m.cli.Conn())
  777. return client.VpnServerDel(ctx, in, opts...)
  778. }
  779. func (m *defaultGoVpnClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) {
  780. client := pb.NewGoVpnClientClient(m.cli.Conn())
  781. return client.VpnServerGet(ctx, in, opts...)
  782. }
  783. func (m *defaultGoVpnClient) VpnServerExGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerExVo, error) {
  784. client := pb.NewGoVpnClientClient(m.cli.Conn())
  785. return client.VpnServerExGet(ctx, in, opts...)
  786. }
  787. func (m *defaultGoVpnClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) {
  788. client := pb.NewGoVpnClientClient(m.cli.Conn())
  789. return client.VpnServerList(ctx, in, opts...)
  790. }
  791. func (m *defaultGoVpnClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) {
  792. client := pb.NewGoVpnClientClient(m.cli.Conn())
  793. return client.VpnServerExList(ctx, in, opts...)
  794. }
  795. func (m *defaultGoVpnClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) {
  796. client := pb.NewGoVpnClientClient(m.cli.Conn())
  797. return client.VpnServerBatchAdd(ctx, in, opts...)
  798. }
  799. func (m *defaultGoVpnClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) {
  800. client := pb.NewGoVpnClientClient(m.cli.Conn())
  801. return client.VpnServerBatchUpdate(ctx, in, opts...)
  802. }
  803. // VpnServerLocationAdd
  804. func (m *defaultGoVpnClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  805. client := pb.NewGoVpnClientClient(m.cli.Conn())
  806. return client.VpnServerLocationAdd(ctx, in, opts...)
  807. }
  808. func (m *defaultGoVpnClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) {
  809. client := pb.NewGoVpnClientClient(m.cli.Conn())
  810. return client.VpnServerLocationUpdate(ctx, in, opts...)
  811. }
  812. func (m *defaultGoVpnClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  813. client := pb.NewGoVpnClientClient(m.cli.Conn())
  814. return client.VpnServerLocationDel(ctx, in, opts...)
  815. }
  816. func (m *defaultGoVpnClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) {
  817. client := pb.NewGoVpnClientClient(m.cli.Conn())
  818. return client.VpnServerLocationGet(ctx, in, opts...)
  819. }
  820. func (m *defaultGoVpnClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) {
  821. client := pb.NewGoVpnClientClient(m.cli.Conn())
  822. return client.VpnServerLocationList(ctx, in, opts...)
  823. }
  824. func (m *defaultGoVpnClient) VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error) {
  825. client := pb.NewGoVpnClientClient(m.cli.Conn())
  826. return client.VpnWithIPAndPort(ctx, in, opts...)
  827. }
  828. // VpnLocationServerCount
  829. func (m *defaultGoVpnClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) {
  830. client := pb.NewGoVpnClientClient(m.cli.Conn())
  831. return client.VpnLocationServerCount(ctx, in, opts...)
  832. }
  833. // VpnProbeTaskAdd
  834. func (m *defaultGoVpnClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) {
  835. client := pb.NewGoVpnClientClient(m.cli.Conn())
  836. return client.VpnProbeTaskAdd(ctx, in, opts...)
  837. }
  838. func (m *defaultGoVpnClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) {
  839. client := pb.NewGoVpnClientClient(m.cli.Conn())
  840. return client.VpnProbeTaskUpdate(ctx, in, opts...)
  841. }
  842. func (m *defaultGoVpnClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) {
  843. client := pb.NewGoVpnClientClient(m.cli.Conn())
  844. return client.VpnProbeTaskList(ctx, in, opts...)
  845. }
  846. // VpnipWalledAdd
  847. func (m *defaultGoVpnClient) VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error) {
  848. client := pb.NewGoVpnClientClient(m.cli.Conn())
  849. return client.VpnipWalledAdd(ctx, in, opts...)
  850. }
  851. func (m *defaultGoVpnClient) VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error) {
  852. client := pb.NewGoVpnClientClient(m.cli.Conn())
  853. return client.VpnipWalledUpdate(ctx, in, opts...)
  854. }
  855. func (m *defaultGoVpnClient) VpnipWalledDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  856. client := pb.NewGoVpnClientClient(m.cli.Conn())
  857. return client.VpnipWalledDel(ctx, in, opts...)
  858. }
  859. func (m *defaultGoVpnClient) VpnipWalledGet(ctx context.Context, in *VpnipWalledGetReq, opts ...grpc.CallOption) (*VpnipWalledGetResp, error) {
  860. client := pb.NewGoVpnClientClient(m.cli.Conn())
  861. return client.VpnipWalledGet(ctx, in, opts...)
  862. }
  863. func (m *defaultGoVpnClient) VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error) {
  864. client := pb.NewGoVpnClientClient(m.cli.Conn())
  865. return client.VpnipWalledList(ctx, in, opts...)
  866. }
  867. func (m *defaultGoVpnClient) VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error) {
  868. client := pb.NewGoVpnClientClient(m.cli.Conn())
  869. return client.VpnipWalledBatchAdd(ctx, in, opts...)
  870. }
  871. func (m *defaultGoVpnClient) VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error) {
  872. client := pb.NewGoVpnClientClient(m.cli.Conn())
  873. return client.VpnipWalledBatchUpdate(ctx, in, opts...)
  874. }
  875. // VpnipAdd
  876. func (m *defaultGoVpnClient) VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error) {
  877. client := pb.NewGoVpnClientClient(m.cli.Conn())
  878. return client.VpnipAdd(ctx, in, opts...)
  879. }
  880. func (m *defaultGoVpnClient) VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error) {
  881. client := pb.NewGoVpnClientClient(m.cli.Conn())
  882. return client.VpnipExAdd(ctx, in, opts...)
  883. }
  884. func (m *defaultGoVpnClient) VpnipUpdate(ctx context.Context, in *VpnipUpdateReq, opts ...grpc.CallOption) (*VpnipUpdateResp, error) {
  885. client := pb.NewGoVpnClientClient(m.cli.Conn())
  886. return client.VpnipUpdate(ctx, in, opts...)
  887. }
  888. func (m *defaultGoVpnClient) VpnipExUpdate(ctx context.Context, in *VpnipExUpdateReq, opts ...grpc.CallOption) (*VpnipExUpdateResp, error) {
  889. client := pb.NewGoVpnClientClient(m.cli.Conn())
  890. return client.VpnipExUpdate(ctx, in, opts...)
  891. }
  892. func (m *defaultGoVpnClient) VpnipDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  893. client := pb.NewGoVpnClientClient(m.cli.Conn())
  894. return client.VpnipDel(ctx, in, opts...)
  895. }
  896. func (m *defaultGoVpnClient) VpnipGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipGetResp, error) {
  897. client := pb.NewGoVpnClientClient(m.cli.Conn())
  898. return client.VpnipGet(ctx, in, opts...)
  899. }
  900. func (m *defaultGoVpnClient) VpnipExGet(ctx context.Context, in *VpnipGetReq, opts ...grpc.CallOption) (*VpnipExGetResp, error) {
  901. client := pb.NewGoVpnClientClient(m.cli.Conn())
  902. return client.VpnipExGet(ctx, in, opts...)
  903. }
  904. func (m *defaultGoVpnClient) VpnipList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipListResp, error) {
  905. client := pb.NewGoVpnClientClient(m.cli.Conn())
  906. return client.VpnipList(ctx, in, opts...)
  907. }
  908. func (m *defaultGoVpnClient) VpnipExList(ctx context.Context, in *VpnipListReq, opts ...grpc.CallOption) (*VpnipExListResp, error) {
  909. client := pb.NewGoVpnClientClient(m.cli.Conn())
  910. return client.VpnipExList(ctx, in, opts...)
  911. }
  912. func (m *defaultGoVpnClient) VpnipBatchAdd(ctx context.Context, in *VpnipBatchAddReq, opts ...grpc.CallOption) (*VpnipBatchAddResp, error) {
  913. client := pb.NewGoVpnClientClient(m.cli.Conn())
  914. return client.VpnipBatchAdd(ctx, in, opts...)
  915. }
  916. func (m *defaultGoVpnClient) VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error) {
  917. client := pb.NewGoVpnClientClient(m.cli.Conn())
  918. return client.VpnipBatchUpdate(ctx, in, opts...)
  919. }
  920. func (m *defaultGoVpnClient) VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error) {
  921. client := pb.NewGoVpnClientClient(m.cli.Conn())
  922. return client.VpnipExBatchAdd(ctx, in, opts...)
  923. }
  924. func (m *defaultGoVpnClient) VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error) {
  925. client := pb.NewGoVpnClientClient(m.cli.Conn())
  926. return client.VpnipExBatchUpdate(ctx, in, opts...)
  927. }
  928. // VpnipRangeAdd
  929. func (m *defaultGoVpnClient) VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error) {
  930. client := pb.NewGoVpnClientClient(m.cli.Conn())
  931. return client.VpnipRangeAdd(ctx, in, opts...)
  932. }
  933. // VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
  934. func (m *defaultGoVpnClient) VpnipRangeExAdd(ctx context.Context, in *VpnipRangeExAddReq, opts ...grpc.CallOption) (*VpnipRangeExAddResp, error) {
  935. client := pb.NewGoVpnClientClient(m.cli.Conn())
  936. return client.VpnipRangeExAdd(ctx, in, opts...)
  937. }
  938. func (m *defaultGoVpnClient) VpnipRangeUpdate(ctx context.Context, in *VpnipRangeUpdateReq, opts ...grpc.CallOption) (*VpnipRangeUpdateResp, error) {
  939. client := pb.NewGoVpnClientClient(m.cli.Conn())
  940. return client.VpnipRangeUpdate(ctx, in, opts...)
  941. }
  942. func (m *defaultGoVpnClient) VpnipRangeExUpdate(ctx context.Context, in *VpnipRangeExUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExUpdateResp, error) {
  943. client := pb.NewGoVpnClientClient(m.cli.Conn())
  944. return client.VpnipRangeExUpdate(ctx, in, opts...)
  945. }
  946. func (m *defaultGoVpnClient) VpnipRangeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  947. client := pb.NewGoVpnClientClient(m.cli.Conn())
  948. return client.VpnipRangeDel(ctx, in, opts...)
  949. }
  950. func (m *defaultGoVpnClient) VpnipRangeGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeGetResp, error) {
  951. client := pb.NewGoVpnClientClient(m.cli.Conn())
  952. return client.VpnipRangeGet(ctx, in, opts...)
  953. }
  954. func (m *defaultGoVpnClient) VpnipRangeExGet(ctx context.Context, in *VpnipRangeGetReq, opts ...grpc.CallOption) (*VpnipRangeExGetResp, error) {
  955. client := pb.NewGoVpnClientClient(m.cli.Conn())
  956. return client.VpnipRangeExGet(ctx, in, opts...)
  957. }
  958. func (m *defaultGoVpnClient) VpnipRangeList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeListResp, error) {
  959. client := pb.NewGoVpnClientClient(m.cli.Conn())
  960. return client.VpnipRangeList(ctx, in, opts...)
  961. }
  962. func (m *defaultGoVpnClient) VpnipRangeExList(ctx context.Context, in *VpnipRangeListReq, opts ...grpc.CallOption) (*VpnipRangeExListResp, error) {
  963. client := pb.NewGoVpnClientClient(m.cli.Conn())
  964. return client.VpnipRangeExList(ctx, in, opts...)
  965. }
  966. func (m *defaultGoVpnClient) VpnipRangeBatchAdd(ctx context.Context, in *VpnipRangeBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeBatchAddResp, error) {
  967. client := pb.NewGoVpnClientClient(m.cli.Conn())
  968. return client.VpnipRangeBatchAdd(ctx, in, opts...)
  969. }
  970. func (m *defaultGoVpnClient) VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error) {
  971. client := pb.NewGoVpnClientClient(m.cli.Conn())
  972. return client.VpnipRangeExBatchAdd(ctx, in, opts...)
  973. }
  974. func (m *defaultGoVpnClient) VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error) {
  975. client := pb.NewGoVpnClientClient(m.cli.Conn())
  976. return client.VpnipRangeBatchUpdate(ctx, in, opts...)
  977. }
  978. func (m *defaultGoVpnClient) VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error) {
  979. client := pb.NewGoVpnClientClient(m.cli.Conn())
  980. return client.VpnipRangeExBatchUpdate(ctx, in, opts...)
  981. }
  982. // VpnipBindAdd
  983. func (m *defaultGoVpnClient) VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error) {
  984. client := pb.NewGoVpnClientClient(m.cli.Conn())
  985. return client.VpnipBindAdd(ctx, in, opts...)
  986. }
  987. func (m *defaultGoVpnClient) VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error) {
  988. client := pb.NewGoVpnClientClient(m.cli.Conn())
  989. return client.VpnipBindUpdate(ctx, in, opts...)
  990. }
  991. func (m *defaultGoVpnClient) VpnipBindDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) {
  992. client := pb.NewGoVpnClientClient(m.cli.Conn())
  993. return client.VpnipBindDel(ctx, in, opts...)
  994. }
  995. func (m *defaultGoVpnClient) VpnipBindGet(ctx context.Context, in *VpnipBindGetReq, opts ...grpc.CallOption) (*VpnipBindGetResp, error) {
  996. client := pb.NewGoVpnClientClient(m.cli.Conn())
  997. return client.VpnipBindGet(ctx, in, opts...)
  998. }
  999. func (m *defaultGoVpnClient) VpnipBindList(ctx context.Context, in *VpnipBindListReq, opts ...grpc.CallOption) (*VpnipBindListResp, error) {
  1000. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1001. return client.VpnipBindList(ctx, in, opts...)
  1002. }
  1003. func (m *defaultGoVpnClient) VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error) {
  1004. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1005. return client.VpnipBindBatchUpdate(ctx, in, opts...)
  1006. }
  1007. // VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
  1008. func (m *defaultGoVpnClient) VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error) {
  1009. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1010. return client.VpnipsBindServer(ctx, in, opts...)
  1011. }
  1012. // VpnConfigTemplatePlanAdd 添加配置模板及模板详情
  1013. func (m *defaultGoVpnClient) VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error) {
  1014. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1015. return client.VpnConfigTemplatePlanAdd(ctx, in, opts...)
  1016. }
  1017. // VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
  1018. func (m *defaultGoVpnClient) VpnConfigTemplatePlanUpdate(ctx context.Context, in *VpnConfigTemplatePlanUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanUpdateResp, error) {
  1019. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1020. return client.VpnConfigTemplatePlanUpdate(ctx, in, opts...)
  1021. }
  1022. // VpnConfigTemplatePlanDel 删除配置模板(会同时删除模板详情)
  1023. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDel(ctx context.Context, in *VpnConfigTemplatePlanDelReq, opts ...grpc.CallOption) (*Empty, error) {
  1024. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1025. return client.VpnConfigTemplatePlanDel(ctx, in, opts...)
  1026. }
  1027. // VpnConfigTemplatePlanGet 获取配置模板(如果 withDetails 为 true,则返回结果中包含模板详情)
  1028. func (m *defaultGoVpnClient) VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error) {
  1029. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1030. return client.VpnConfigTemplatePlanGet(ctx, in, opts...)
  1031. }
  1032. // VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
  1033. func (m *defaultGoVpnClient) VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error) {
  1034. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1035. return client.VpnConfigTemplatePlanList(ctx, in, opts...)
  1036. }
  1037. // VpnConfigTemplatePlanDetailAdd 添加模板详情
  1038. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error) {
  1039. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1040. return client.VpnConfigTemplatePlanDetailAdd(ctx, in, opts...)
  1041. }
  1042. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error) {
  1043. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1044. return client.VpnConfigTemplatePlanDetailUpdate(ctx, in, opts...)
  1045. }
  1046. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error) {
  1047. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1048. return client.VpnConfigTemplatePlanDetailDel(ctx, in, opts...)
  1049. }
  1050. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error) {
  1051. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1052. return client.VpnConfigTemplatePlanDetailGet(ctx, in, opts...)
  1053. }
  1054. func (m *defaultGoVpnClient) VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error) {
  1055. client := pb.NewGoVpnClientClient(m.cli.Conn())
  1056. return client.VpnConfigTemplatePlanDetailList(ctx, in, opts...)
  1057. }