|
@@ -1,7 +1,7 @@
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
// versions:
|
|
// versions:
|
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
|
-// - protoc v3.19.4
|
|
|
|
|
|
|
+// - protoc v6.33.0
|
|
|
// source: gorpc.proto
|
|
// source: gorpc.proto
|
|
|
|
|
|
|
|
package pb
|
|
package pb
|
|
@@ -12760,6 +12760,11 @@ const (
|
|
|
GoVpnClient_VpnConfigTemplatePlanDetailDel_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailDel"
|
|
GoVpnClient_VpnConfigTemplatePlanDetailDel_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailDel"
|
|
|
GoVpnClient_VpnConfigTemplatePlanDetailGet_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailGet"
|
|
GoVpnClient_VpnConfigTemplatePlanDetailGet_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailGet"
|
|
|
GoVpnClient_VpnConfigTemplatePlanDetailList_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailList"
|
|
GoVpnClient_VpnConfigTemplatePlanDetailList_FullMethodName = "/gorpc.GoVpnClient/VpnConfigTemplatePlanDetailList"
|
|
|
|
|
+ GoVpnClient_VpnServerPortAdd_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortAdd"
|
|
|
|
|
+ GoVpnClient_VpnServerPortUpdate_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortUpdate"
|
|
|
|
|
+ GoVpnClient_VpnServerPortDel_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortDel"
|
|
|
|
|
+ GoVpnClient_VpnServerPortGet_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortGet"
|
|
|
|
|
+ GoVpnClient_VpnServerPortList_FullMethodName = "/gorpc.GoVpnClient/VpnServerPortList"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
// GoVpnClientClient is the client API for GoVpnClient service.
|
|
// GoVpnClientClient is the client API for GoVpnClient service.
|
|
@@ -12771,7 +12776,6 @@ type GoVpnClientClient interface {
|
|
|
Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
|
|
Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
|
|
|
// 表的事务操作
|
|
// 表的事务操作
|
|
|
Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
|
|
Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
- // VpnTag Model
|
|
|
|
|
// VpnTagAdd
|
|
// VpnTagAdd
|
|
|
VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
|
|
VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
|
|
|
VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
|
|
VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error)
|
|
@@ -12780,7 +12784,6 @@ type GoVpnClientClient interface {
|
|
|
VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
|
|
VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error)
|
|
|
VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
|
|
VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error)
|
|
|
VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
|
|
VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error)
|
|
|
- // VpnGroup Model
|
|
|
|
|
// VpnGroupAdd
|
|
// VpnGroupAdd
|
|
|
VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
|
|
VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error)
|
|
|
VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error)
|
|
@@ -12789,14 +12792,12 @@ type GoVpnClientClient interface {
|
|
|
VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
|
|
VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error)
|
|
|
VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
|
|
VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error)
|
|
|
VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
|
|
VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error)
|
|
|
- // VpnGroupTag Model
|
|
|
|
|
// VpnGroupTagAdd
|
|
// VpnGroupTagAdd
|
|
|
VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error)
|
|
|
VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
|
|
VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error)
|
|
|
- // VpnLocation Model
|
|
|
|
|
// VpnLocationAdd
|
|
// VpnLocationAdd
|
|
|
VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
|
|
VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error)
|
|
|
VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error)
|
|
@@ -12805,7 +12806,6 @@ type GoVpnClientClient interface {
|
|
|
VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
|
|
VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error)
|
|
|
VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
|
|
VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error)
|
|
|
VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
|
|
VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error)
|
|
|
- // VpnServer Model
|
|
|
|
|
// VpnServerAdd
|
|
// VpnServerAdd
|
|
|
VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
|
|
VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
|
|
|
VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
|
|
VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error)
|
|
@@ -12816,7 +12816,6 @@ type GoVpnClientClient interface {
|
|
|
VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
|
|
VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error)
|
|
|
VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
|
|
VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error)
|
|
|
VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
|
|
VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error)
|
|
|
- // VpnServerLocation Model
|
|
|
|
|
// VpnServerLocationAdd
|
|
// VpnServerLocationAdd
|
|
|
VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
|
|
VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error)
|
|
|
VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error)
|
|
@@ -12826,12 +12825,10 @@ type GoVpnClientClient interface {
|
|
|
VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
|
|
VpnWithIPAndPort(ctx context.Context, in *VpnWithIPAndPortReq, opts ...grpc.CallOption) (*VpnWithIPAndPortResp, error)
|
|
|
// VpnLocationServerCount
|
|
// VpnLocationServerCount
|
|
|
VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
|
|
VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error)
|
|
|
- // VpnProbeTask Model
|
|
|
|
|
// VpnProbeTaskAdd
|
|
// VpnProbeTaskAdd
|
|
|
VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
|
|
VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error)
|
|
|
VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error)
|
|
|
VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
|
|
VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error)
|
|
|
- // VpnipWalled Model
|
|
|
|
|
// VpnipWalledAdd
|
|
// VpnipWalledAdd
|
|
|
VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
|
|
VpnipWalledAdd(ctx context.Context, in *VpnipWalledAddReq, opts ...grpc.CallOption) (*VpnipWalledAddResp, error)
|
|
|
VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
|
|
VpnipWalledUpdate(ctx context.Context, in *VpnipWalledUpdateReq, opts ...grpc.CallOption) (*VpnipWalledUpdateResp, error)
|
|
@@ -12840,7 +12837,6 @@ type GoVpnClientClient interface {
|
|
|
VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
|
|
VpnipWalledList(ctx context.Context, in *VpnipWalledListReq, opts ...grpc.CallOption) (*VpnipWalledListResp, error)
|
|
|
VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
|
|
VpnipWalledBatchAdd(ctx context.Context, in *VpnipWalledBatchAddReq, opts ...grpc.CallOption) (*VpnipWalledBatchAddResp, error)
|
|
|
VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
|
|
VpnipWalledBatchUpdate(ctx context.Context, in *VpnipWalledBatchUpdateReq, opts ...grpc.CallOption) (*VpnipWalledBatchUpdateResp, error)
|
|
|
- // Vpnip Model
|
|
|
|
|
// VpnipAdd
|
|
// VpnipAdd
|
|
|
VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
|
|
VpnipAdd(ctx context.Context, in *VpnipAddReq, opts ...grpc.CallOption) (*VpnipAddResp, error)
|
|
|
VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
|
|
VpnipExAdd(ctx context.Context, in *VpnipExAddReq, opts ...grpc.CallOption) (*VpnipExAddResp, error)
|
|
@@ -12855,7 +12851,6 @@ type GoVpnClientClient interface {
|
|
|
VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
|
|
VpnipBatchUpdate(ctx context.Context, in *VpnipBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBatchUpdateResp, error)
|
|
|
VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
|
|
VpnipExBatchAdd(ctx context.Context, in *VpnipExBatchAddReq, opts ...grpc.CallOption) (*VpnipExBatchAddResp, error)
|
|
|
VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
|
|
VpnipExBatchUpdate(ctx context.Context, in *VpnipExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipExBatchUpdateResp, error)
|
|
|
- // VpnipRange Model
|
|
|
|
|
// VpnipRangeAdd
|
|
// VpnipRangeAdd
|
|
|
VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
|
|
VpnipRangeAdd(ctx context.Context, in *VpnipRangeAddReq, opts ...grpc.CallOption) (*VpnipRangeAddResp, error)
|
|
|
// VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
|
|
// VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
|
|
@@ -12871,7 +12866,6 @@ type GoVpnClientClient interface {
|
|
|
VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
|
|
VpnipRangeExBatchAdd(ctx context.Context, in *VpnipRangeExBatchAddReq, opts ...grpc.CallOption) (*VpnipRangeExBatchAddResp, error)
|
|
|
VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
|
|
VpnipRangeBatchUpdate(ctx context.Context, in *VpnipRangeBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeBatchUpdateResp, error)
|
|
|
VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
|
|
VpnipRangeExBatchUpdate(ctx context.Context, in *VpnipRangeExBatchUpdateReq, opts ...grpc.CallOption) (*VpnipRangeExBatchUpdateResp, error)
|
|
|
- // VpnipBind Model
|
|
|
|
|
// VpnipBindAdd
|
|
// VpnipBindAdd
|
|
|
VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
|
|
VpnipBindAdd(ctx context.Context, in *VpnipBindAddReq, opts ...grpc.CallOption) (*VpnipBindAddResp, error)
|
|
|
VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
|
|
VpnipBindUpdate(ctx context.Context, in *VpnipBindUpdateReq, opts ...grpc.CallOption) (*VpnipBindUpdateResp, error)
|
|
@@ -12881,7 +12875,6 @@ type GoVpnClientClient interface {
|
|
|
VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
|
|
VpnipBindBatchUpdate(ctx context.Context, in *VpnipBindBatchUpdateReq, opts ...grpc.CallOption) (*VpnipBindBatchUpdateResp, error)
|
|
|
// VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
|
|
// VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
|
|
|
VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
|
|
VpnipsBindServer(ctx context.Context, in *VpnipBindBatchAddReq, opts ...grpc.CallOption) (*VpnipBindBatchAddResp, error)
|
|
|
- // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
|
|
|
|
|
// VpnConfigTemplatePlanAdd 添加配置模板及模板详情
|
|
// VpnConfigTemplatePlanAdd 添加配置模板及模板详情
|
|
|
VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
|
|
VpnConfigTemplatePlanAdd(ctx context.Context, in *VpnConfigTemplatePlanAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanAddResp, error)
|
|
|
// VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
// VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
@@ -12892,13 +12885,18 @@ type GoVpnClientClient interface {
|
|
|
VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
|
|
VpnConfigTemplatePlanGet(ctx context.Context, in *VpnConfigTemplatePlanGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanGetResp, error)
|
|
|
// VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
// VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
|
VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
|
|
VpnConfigTemplatePlanList(ctx context.Context, in *VpnConfigTemplatePlanListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanListResp, error)
|
|
|
- // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
|
|
|
|
|
// VpnConfigTemplatePlanDetailAdd 添加模板详情
|
|
// VpnConfigTemplatePlanDetailAdd 添加模板详情
|
|
|
VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
|
|
VpnConfigTemplatePlanDetailAdd(ctx context.Context, in *VpnConfigTemplatePlanDetailAddReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailAddResp, error)
|
|
|
VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
|
|
VpnConfigTemplatePlanDetailUpdate(ctx context.Context, in *VpnConfigTemplatePlanDetailUpdateReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailUpdateResp, error)
|
|
|
VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
VpnConfigTemplatePlanDetailDel(ctx context.Context, in *VpnConfigTemplatePlanDetailDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
|
|
VpnConfigTemplatePlanDetailGet(ctx context.Context, in *VpnConfigTemplatePlanDetailGetReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailGetResp, error)
|
|
|
VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
|
|
VpnConfigTemplatePlanDetailList(ctx context.Context, in *VpnConfigTemplatePlanDetailListReq, opts ...grpc.CallOption) (*VpnConfigTemplatePlanDetailListResp, error)
|
|
|
|
|
+ // VpnServerPortAdd
|
|
|
|
|
+ VpnServerPortAdd(ctx context.Context, in *VpnServerPortAddReq, opts ...grpc.CallOption) (*VpnServerPortAddResp, error)
|
|
|
|
|
+ VpnServerPortUpdate(ctx context.Context, in *VpnServerPortUpdateReq, opts ...grpc.CallOption) (*VpnServerPortUpdateResp, error)
|
|
|
|
|
+ VpnServerPortDel(ctx context.Context, in *VpnServerPortDelReq, opts ...grpc.CallOption) (*Empty, error)
|
|
|
|
|
+ VpnServerPortGet(ctx context.Context, in *VpnServerPortGetReq, opts ...grpc.CallOption) (*VpnServerPortGetResp, error)
|
|
|
|
|
+ VpnServerPortList(ctx context.Context, in *VpnServerPortListReq, opts ...grpc.CallOption) (*VpnServerPortListResp, error)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type goVpnClientClient struct {
|
|
type goVpnClientClient struct {
|
|
@@ -13879,6 +13877,56 @@ func (c *goVpnClientClient) VpnConfigTemplatePlanDetailList(ctx context.Context,
|
|
|
return out, nil
|
|
return out, nil
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (c *goVpnClientClient) VpnServerPortAdd(ctx context.Context, in *VpnServerPortAddReq, opts ...grpc.CallOption) (*VpnServerPortAddResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(VpnServerPortAddResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortAdd_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goVpnClientClient) VpnServerPortUpdate(ctx context.Context, in *VpnServerPortUpdateReq, opts ...grpc.CallOption) (*VpnServerPortUpdateResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(VpnServerPortUpdateResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortUpdate_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goVpnClientClient) VpnServerPortDel(ctx context.Context, in *VpnServerPortDelReq, opts ...grpc.CallOption) (*Empty, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(Empty)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortDel_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goVpnClientClient) VpnServerPortGet(ctx context.Context, in *VpnServerPortGetReq, opts ...grpc.CallOption) (*VpnServerPortGetResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(VpnServerPortGetResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortGet_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (c *goVpnClientClient) VpnServerPortList(ctx context.Context, in *VpnServerPortListReq, opts ...grpc.CallOption) (*VpnServerPortListResp, error) {
|
|
|
|
|
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
|
|
|
+ out := new(VpnServerPortListResp)
|
|
|
|
|
+ err := c.cc.Invoke(ctx, GoVpnClient_VpnServerPortList_FullMethodName, in, out, cOpts...)
|
|
|
|
|
+ if err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ return out, nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// GoVpnClientServer is the server API for GoVpnClient service.
|
|
// GoVpnClientServer is the server API for GoVpnClient service.
|
|
|
// All implementations must embed UnimplementedGoVpnClientServer
|
|
// All implementations must embed UnimplementedGoVpnClientServer
|
|
|
// for forward compatibility.
|
|
// for forward compatibility.
|
|
@@ -13888,7 +13936,6 @@ type GoVpnClientServer interface {
|
|
|
Ping(context.Context, *Request) (*Response, error)
|
|
Ping(context.Context, *Request) (*Response, error)
|
|
|
// 表的事务操作
|
|
// 表的事务操作
|
|
|
Transaction(context.Context, *TransactionReq) (*Empty, error)
|
|
Transaction(context.Context, *TransactionReq) (*Empty, error)
|
|
|
- // VpnTag Model
|
|
|
|
|
// VpnTagAdd
|
|
// VpnTagAdd
|
|
|
VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error)
|
|
VpnTagAdd(context.Context, *VpnTagVo) (*VpnTagVo, error)
|
|
|
VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error)
|
|
VpnTagUpdate(context.Context, *VpnTagVo) (*VpnTagVo, error)
|
|
@@ -13897,7 +13944,6 @@ type GoVpnClientServer interface {
|
|
|
VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error)
|
|
VpnTagList(context.Context, *VpnTagListReq) (*VpnTagListResp, error)
|
|
|
VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error)
|
|
VpnTagBatchAdd(context.Context, *VpnTagBatchAddReq) (*VpnTagBatchAddResp, error)
|
|
|
VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error)
|
|
VpnTagBatchUpdate(context.Context, *VpnTagBatchUpdateReq) (*VpnTagBatchUpdateResp, error)
|
|
|
- // VpnGroup Model
|
|
|
|
|
// VpnGroupAdd
|
|
// VpnGroupAdd
|
|
|
VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error)
|
|
VpnGroupAdd(context.Context, *VpnGroupAddReq) (*VpnGroupVo, error)
|
|
|
VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error)
|
|
VpnGroupUpdate(context.Context, *VpnGroupAddReq) (*Empty, error)
|
|
@@ -13906,14 +13952,12 @@ type GoVpnClientServer interface {
|
|
|
VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error)
|
|
VpnGroupList(context.Context, *VpnGroupListReq) (*VpnGroupListResp, error)
|
|
|
VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error)
|
|
VpnGroupBatchAdd(context.Context, *VpnGroupBatchAddReq) (*VpnGroupBatchAddResp, error)
|
|
|
VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error)
|
|
VpnGroupBatchUpdate(context.Context, *VpnGroupBatchUpdateReq) (*VpnGroupBatchUpdateResp, error)
|
|
|
- // VpnGroupTag Model
|
|
|
|
|
// VpnGroupTagAdd
|
|
// VpnGroupTagAdd
|
|
|
VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
VpnGroupTagAdd(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
VpnGroupTagUpdate(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagDel(context.Context, *Ids) (*Empty, error)
|
|
VpnGroupTagDel(context.Context, *Ids) (*Empty, error)
|
|
|
VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
VpnGroupTagGet(context.Context, *VpnGroupTagVo) (*VpnGroupTagVo, error)
|
|
|
VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error)
|
|
VpnGroupTagList(context.Context, *VpnGroupTagListReq) (*VpnGroupTagListResp, error)
|
|
|
- // VpnLocation Model
|
|
|
|
|
// VpnLocationAdd
|
|
// VpnLocationAdd
|
|
|
VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error)
|
|
VpnLocationAdd(context.Context, *VpnLocationVo) (*VpnLocationVo, error)
|
|
|
VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error)
|
|
VpnLocationUpdate(context.Context, *VpnLocationVo) (*Empty, error)
|
|
@@ -13922,7 +13966,6 @@ type GoVpnClientServer interface {
|
|
|
VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error)
|
|
VpnLocationList(context.Context, *VpnLocationListReq) (*VpnLocationListResp, error)
|
|
|
VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error)
|
|
VpnLocationBatchAdd(context.Context, *VpnLocationBatchAddReq) (*VpnLocationBatchAddResp, error)
|
|
|
VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error)
|
|
VpnLocationBatchUpdate(context.Context, *VpnLocationBatchUpdateReq) (*VpnLocationBatchUpdateResp, error)
|
|
|
- // VpnServer Model
|
|
|
|
|
// VpnServerAdd
|
|
// VpnServerAdd
|
|
|
VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
|
|
VpnServerAdd(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
|
|
|
VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
|
|
VpnServerUpdate(context.Context, *VpnServerAddReq) (*VpnServerAddReq, error)
|
|
@@ -13933,7 +13976,6 @@ type GoVpnClientServer interface {
|
|
|
VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error)
|
|
VpnServerExList(context.Context, *VpnServerListReq) (*VpnServerExListResp, error)
|
|
|
VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error)
|
|
VpnServerBatchAdd(context.Context, *VpnServerBatchAddReq) (*VpnServerBatchAddResp, error)
|
|
|
VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error)
|
|
VpnServerBatchUpdate(context.Context, *VpnServerBatchUpdateReq) (*VpnServerBatchUpdateResp, error)
|
|
|
- // VpnServerLocation Model
|
|
|
|
|
// VpnServerLocationAdd
|
|
// VpnServerLocationAdd
|
|
|
VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
|
|
VpnServerLocationAdd(context.Context, *VpnServerLocationVo) (*VpnServerLocationVo, error)
|
|
|
VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error)
|
|
VpnServerLocationUpdate(context.Context, *VpnServerLocationVo) (*Empty, error)
|
|
@@ -13943,12 +13985,10 @@ type GoVpnClientServer interface {
|
|
|
VpnWithIPAndPort(context.Context, *VpnWithIPAndPortReq) (*VpnWithIPAndPortResp, error)
|
|
VpnWithIPAndPort(context.Context, *VpnWithIPAndPortReq) (*VpnWithIPAndPortResp, error)
|
|
|
// VpnLocationServerCount
|
|
// VpnLocationServerCount
|
|
|
VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error)
|
|
VpnLocationServerCount(context.Context, *VpnLocationServerCountReq) (*VpnLocationServerCountResp, error)
|
|
|
- // VpnProbeTask Model
|
|
|
|
|
// VpnProbeTaskAdd
|
|
// VpnProbeTaskAdd
|
|
|
VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error)
|
|
VpnProbeTaskAdd(context.Context, *VpnProbeTaskVo) (*VpnProbeTaskVo, error)
|
|
|
VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error)
|
|
VpnProbeTaskUpdate(context.Context, *VpnProbeTaskVo) (*Empty, error)
|
|
|
VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error)
|
|
VpnProbeTaskList(context.Context, *VpnProbeTaskListReq) (*VpnProbeTaskListResp, error)
|
|
|
- // VpnipWalled Model
|
|
|
|
|
// VpnipWalledAdd
|
|
// VpnipWalledAdd
|
|
|
VpnipWalledAdd(context.Context, *VpnipWalledAddReq) (*VpnipWalledAddResp, error)
|
|
VpnipWalledAdd(context.Context, *VpnipWalledAddReq) (*VpnipWalledAddResp, error)
|
|
|
VpnipWalledUpdate(context.Context, *VpnipWalledUpdateReq) (*VpnipWalledUpdateResp, error)
|
|
VpnipWalledUpdate(context.Context, *VpnipWalledUpdateReq) (*VpnipWalledUpdateResp, error)
|
|
@@ -13957,7 +13997,6 @@ type GoVpnClientServer interface {
|
|
|
VpnipWalledList(context.Context, *VpnipWalledListReq) (*VpnipWalledListResp, error)
|
|
VpnipWalledList(context.Context, *VpnipWalledListReq) (*VpnipWalledListResp, error)
|
|
|
VpnipWalledBatchAdd(context.Context, *VpnipWalledBatchAddReq) (*VpnipWalledBatchAddResp, error)
|
|
VpnipWalledBatchAdd(context.Context, *VpnipWalledBatchAddReq) (*VpnipWalledBatchAddResp, error)
|
|
|
VpnipWalledBatchUpdate(context.Context, *VpnipWalledBatchUpdateReq) (*VpnipWalledBatchUpdateResp, error)
|
|
VpnipWalledBatchUpdate(context.Context, *VpnipWalledBatchUpdateReq) (*VpnipWalledBatchUpdateResp, error)
|
|
|
- // Vpnip Model
|
|
|
|
|
// VpnipAdd
|
|
// VpnipAdd
|
|
|
VpnipAdd(context.Context, *VpnipAddReq) (*VpnipAddResp, error)
|
|
VpnipAdd(context.Context, *VpnipAddReq) (*VpnipAddResp, error)
|
|
|
VpnipExAdd(context.Context, *VpnipExAddReq) (*VpnipExAddResp, error)
|
|
VpnipExAdd(context.Context, *VpnipExAddReq) (*VpnipExAddResp, error)
|
|
@@ -13972,7 +14011,6 @@ type GoVpnClientServer interface {
|
|
|
VpnipBatchUpdate(context.Context, *VpnipBatchUpdateReq) (*VpnipBatchUpdateResp, error)
|
|
VpnipBatchUpdate(context.Context, *VpnipBatchUpdateReq) (*VpnipBatchUpdateResp, error)
|
|
|
VpnipExBatchAdd(context.Context, *VpnipExBatchAddReq) (*VpnipExBatchAddResp, error)
|
|
VpnipExBatchAdd(context.Context, *VpnipExBatchAddReq) (*VpnipExBatchAddResp, error)
|
|
|
VpnipExBatchUpdate(context.Context, *VpnipExBatchUpdateReq) (*VpnipExBatchUpdateResp, error)
|
|
VpnipExBatchUpdate(context.Context, *VpnipExBatchUpdateReq) (*VpnipExBatchUpdateResp, error)
|
|
|
- // VpnipRange Model
|
|
|
|
|
// VpnipRangeAdd
|
|
// VpnipRangeAdd
|
|
|
VpnipRangeAdd(context.Context, *VpnipRangeAddReq) (*VpnipRangeAddResp, error)
|
|
VpnipRangeAdd(context.Context, *VpnipRangeAddReq) (*VpnipRangeAddResp, error)
|
|
|
// VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
|
|
// VpnipRangeExAdd 添加IP段及IP数据,如果IP数据已存在,会自动将已经存在的IP的 rangeId 更新为新增的IP段的ID
|
|
@@ -13988,7 +14026,6 @@ type GoVpnClientServer interface {
|
|
|
VpnipRangeExBatchAdd(context.Context, *VpnipRangeExBatchAddReq) (*VpnipRangeExBatchAddResp, error)
|
|
VpnipRangeExBatchAdd(context.Context, *VpnipRangeExBatchAddReq) (*VpnipRangeExBatchAddResp, error)
|
|
|
VpnipRangeBatchUpdate(context.Context, *VpnipRangeBatchUpdateReq) (*VpnipRangeBatchUpdateResp, error)
|
|
VpnipRangeBatchUpdate(context.Context, *VpnipRangeBatchUpdateReq) (*VpnipRangeBatchUpdateResp, error)
|
|
|
VpnipRangeExBatchUpdate(context.Context, *VpnipRangeExBatchUpdateReq) (*VpnipRangeExBatchUpdateResp, error)
|
|
VpnipRangeExBatchUpdate(context.Context, *VpnipRangeExBatchUpdateReq) (*VpnipRangeExBatchUpdateResp, error)
|
|
|
- // VpnipBind Model
|
|
|
|
|
// VpnipBindAdd
|
|
// VpnipBindAdd
|
|
|
VpnipBindAdd(context.Context, *VpnipBindAddReq) (*VpnipBindAddResp, error)
|
|
VpnipBindAdd(context.Context, *VpnipBindAddReq) (*VpnipBindAddResp, error)
|
|
|
VpnipBindUpdate(context.Context, *VpnipBindUpdateReq) (*VpnipBindUpdateResp, error)
|
|
VpnipBindUpdate(context.Context, *VpnipBindUpdateReq) (*VpnipBindUpdateResp, error)
|
|
@@ -13998,7 +14035,6 @@ type GoVpnClientServer interface {
|
|
|
VpnipBindBatchUpdate(context.Context, *VpnipBindBatchUpdateReq) (*VpnipBindBatchUpdateResp, error)
|
|
VpnipBindBatchUpdate(context.Context, *VpnipBindBatchUpdateReq) (*VpnipBindBatchUpdateResp, error)
|
|
|
// VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
|
|
// VpnipsBindServer 为一台服务器绑定一批新IP,会解绑上次绑定的IP,再绑定新的IP,仅需提供 ipId, serverId, Remark, createAt, updateAt 即可,其他字段会自动填充
|
|
|
VpnipsBindServer(context.Context, *VpnipBindBatchAddReq) (*VpnipBindBatchAddResp, error)
|
|
VpnipsBindServer(context.Context, *VpnipBindBatchAddReq) (*VpnipBindBatchAddResp, error)
|
|
|
- // VpnConfigTemplatePlan Model (Xray配置模板,jump那边叫做配置模板)
|
|
|
|
|
// VpnConfigTemplatePlanAdd 添加配置模板及模板详情
|
|
// VpnConfigTemplatePlanAdd 添加配置模板及模板详情
|
|
|
VpnConfigTemplatePlanAdd(context.Context, *VpnConfigTemplatePlanAddReq) (*VpnConfigTemplatePlanAddResp, error)
|
|
VpnConfigTemplatePlanAdd(context.Context, *VpnConfigTemplatePlanAddReq) (*VpnConfigTemplatePlanAddResp, error)
|
|
|
// VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
// VpnConfigTemplatePlanUpdate 更新配置模板(只更新模板,不更新模板详情,如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
@@ -14009,13 +14045,18 @@ type GoVpnClientServer interface {
|
|
|
VpnConfigTemplatePlanGet(context.Context, *VpnConfigTemplatePlanGetReq) (*VpnConfigTemplatePlanGetResp, error)
|
|
VpnConfigTemplatePlanGet(context.Context, *VpnConfigTemplatePlanGetReq) (*VpnConfigTemplatePlanGetResp, error)
|
|
|
// VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
// VpnConfigTemplatePlanList 获取配置模板列表(如果 withDetails 为 true,则返回结果中包含模板详情)
|
|
|
VpnConfigTemplatePlanList(context.Context, *VpnConfigTemplatePlanListReq) (*VpnConfigTemplatePlanListResp, error)
|
|
VpnConfigTemplatePlanList(context.Context, *VpnConfigTemplatePlanListReq) (*VpnConfigTemplatePlanListResp, error)
|
|
|
- // VpnConfigTemplatePlanDetail Model (Xray配置模板详情,jump那边叫做传输配置)
|
|
|
|
|
// VpnConfigTemplatePlanDetailAdd 添加模板详情
|
|
// VpnConfigTemplatePlanDetailAdd 添加模板详情
|
|
|
VpnConfigTemplatePlanDetailAdd(context.Context, *VpnConfigTemplatePlanDetailAddReq) (*VpnConfigTemplatePlanDetailAddResp, error)
|
|
VpnConfigTemplatePlanDetailAdd(context.Context, *VpnConfigTemplatePlanDetailAddReq) (*VpnConfigTemplatePlanDetailAddResp, error)
|
|
|
VpnConfigTemplatePlanDetailUpdate(context.Context, *VpnConfigTemplatePlanDetailUpdateReq) (*VpnConfigTemplatePlanDetailUpdateResp, error)
|
|
VpnConfigTemplatePlanDetailUpdate(context.Context, *VpnConfigTemplatePlanDetailUpdateReq) (*VpnConfigTemplatePlanDetailUpdateResp, error)
|
|
|
VpnConfigTemplatePlanDetailDel(context.Context, *VpnConfigTemplatePlanDetailDelReq) (*Empty, error)
|
|
VpnConfigTemplatePlanDetailDel(context.Context, *VpnConfigTemplatePlanDetailDelReq) (*Empty, error)
|
|
|
VpnConfigTemplatePlanDetailGet(context.Context, *VpnConfigTemplatePlanDetailGetReq) (*VpnConfigTemplatePlanDetailGetResp, error)
|
|
VpnConfigTemplatePlanDetailGet(context.Context, *VpnConfigTemplatePlanDetailGetReq) (*VpnConfigTemplatePlanDetailGetResp, error)
|
|
|
VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error)
|
|
VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error)
|
|
|
|
|
+ // VpnServerPortAdd
|
|
|
|
|
+ VpnServerPortAdd(context.Context, *VpnServerPortAddReq) (*VpnServerPortAddResp, error)
|
|
|
|
|
+ VpnServerPortUpdate(context.Context, *VpnServerPortUpdateReq) (*VpnServerPortUpdateResp, error)
|
|
|
|
|
+ VpnServerPortDel(context.Context, *VpnServerPortDelReq) (*Empty, error)
|
|
|
|
|
+ VpnServerPortGet(context.Context, *VpnServerPortGetReq) (*VpnServerPortGetResp, error)
|
|
|
|
|
+ VpnServerPortList(context.Context, *VpnServerPortListReq) (*VpnServerPortListResp, error)
|
|
|
mustEmbedUnimplementedGoVpnClientServer()
|
|
mustEmbedUnimplementedGoVpnClientServer()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -14317,6 +14358,21 @@ func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailGet(context.Con
|
|
|
func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error) {
|
|
func (UnimplementedGoVpnClientServer) VpnConfigTemplatePlanDetailList(context.Context, *VpnConfigTemplatePlanDetailListReq) (*VpnConfigTemplatePlanDetailListResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailList not implemented")
|
|
return nil, status.Errorf(codes.Unimplemented, "method VpnConfigTemplatePlanDetailList not implemented")
|
|
|
}
|
|
}
|
|
|
|
|
+func (UnimplementedGoVpnClientServer) VpnServerPortAdd(context.Context, *VpnServerPortAddReq) (*VpnServerPortAddResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortAdd not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoVpnClientServer) VpnServerPortUpdate(context.Context, *VpnServerPortUpdateReq) (*VpnServerPortUpdateResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortUpdate not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoVpnClientServer) VpnServerPortDel(context.Context, *VpnServerPortDelReq) (*Empty, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortDel not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoVpnClientServer) VpnServerPortGet(context.Context, *VpnServerPortGetReq) (*VpnServerPortGetResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortGet not implemented")
|
|
|
|
|
+}
|
|
|
|
|
+func (UnimplementedGoVpnClientServer) VpnServerPortList(context.Context, *VpnServerPortListReq) (*VpnServerPortListResp, error) {
|
|
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method VpnServerPortList not implemented")
|
|
|
|
|
+}
|
|
|
func (UnimplementedGoVpnClientServer) mustEmbedUnimplementedGoVpnClientServer() {}
|
|
func (UnimplementedGoVpnClientServer) mustEmbedUnimplementedGoVpnClientServer() {}
|
|
|
func (UnimplementedGoVpnClientServer) testEmbeddedByValue() {}
|
|
func (UnimplementedGoVpnClientServer) testEmbeddedByValue() {}
|
|
|
|
|
|
|
@@ -16084,6 +16140,96 @@ func _GoVpnClient_VpnConfigTemplatePlanDetailList_Handler(srv interface{}, ctx c
|
|
|
return interceptor(ctx, in, info, handler)
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func _GoVpnClient_VpnServerPortAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(VpnServerPortAddReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortAdd(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoVpnClient_VpnServerPortAdd_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortAdd(ctx, req.(*VpnServerPortAddReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoVpnClient_VpnServerPortUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(VpnServerPortUpdateReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortUpdate(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoVpnClient_VpnServerPortUpdate_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortUpdate(ctx, req.(*VpnServerPortUpdateReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoVpnClient_VpnServerPortDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(VpnServerPortDelReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortDel(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoVpnClient_VpnServerPortDel_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortDel(ctx, req.(*VpnServerPortDelReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoVpnClient_VpnServerPortGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(VpnServerPortGetReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortGet(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoVpnClient_VpnServerPortGet_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortGet(ctx, req.(*VpnServerPortGetReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func _GoVpnClient_VpnServerPortList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
+ in := new(VpnServerPortListReq)
|
|
|
|
|
+ if err := dec(in); err != nil {
|
|
|
|
|
+ return nil, err
|
|
|
|
|
+ }
|
|
|
|
|
+ if interceptor == nil {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortList(ctx, in)
|
|
|
|
|
+ }
|
|
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
|
|
+ Server: srv,
|
|
|
|
|
+ FullMethod: GoVpnClient_VpnServerPortList_FullMethodName,
|
|
|
|
|
+ }
|
|
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
+ return srv.(GoVpnClientServer).VpnServerPortList(ctx, req.(*VpnServerPortListReq))
|
|
|
|
|
+ }
|
|
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// GoVpnClient_ServiceDesc is the grpc.ServiceDesc for GoVpnClient service.
|
|
// GoVpnClient_ServiceDesc is the grpc.ServiceDesc for GoVpnClient service.
|
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -16479,6 +16625,26 @@ var GoVpnClient_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "VpnConfigTemplatePlanDetailList",
|
|
MethodName: "VpnConfigTemplatePlanDetailList",
|
|
|
Handler: _GoVpnClient_VpnConfigTemplatePlanDetailList_Handler,
|
|
Handler: _GoVpnClient_VpnConfigTemplatePlanDetailList_Handler,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VpnServerPortAdd",
|
|
|
|
|
+ Handler: _GoVpnClient_VpnServerPortAdd_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VpnServerPortUpdate",
|
|
|
|
|
+ Handler: _GoVpnClient_VpnServerPortUpdate_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VpnServerPortDel",
|
|
|
|
|
+ Handler: _GoVpnClient_VpnServerPortDel_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VpnServerPortGet",
|
|
|
|
|
+ Handler: _GoVpnClient_VpnServerPortGet_Handler,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ MethodName: "VpnServerPortList",
|
|
|
|
|
+ Handler: _GoVpnClient_VpnServerPortList_Handler,
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "gorpc.proto",
|
|
Metadata: "gorpc.proto",
|