go_vpn_client.go 80 KB

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