go_vpn_client.go 65 KB

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