go_vpn_client.go 63 KB

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