go_vpn_client.go 70 KB

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