// Code generated by goctl. DO NOT EDIT. // goctl 1.8.5 // Source: gorpc.proto package govpnclient import ( "context" "git.goio.dev/pb/go-service-pb/pb/pb" "github.com/zeromicro/go-zero/zrpc" "google.golang.org/grpc" ) type ( AccountDeviceListReq = pb.AccountDeviceListReq AccountDeviceListResp = pb.AccountDeviceListResp AccountDeviceVo = pb.AccountDeviceVo AccountListReq = pb.AccountListReq AccountListResp = pb.AccountListResp AccountVo = pb.AccountVo AdGlobalConfigGetReq = pb.AdGlobalConfigGetReq AdGlobalConfigVo = pb.AdGlobalConfigVo AdPlanDetailListReq = pb.AdPlanDetailListReq AdPlanDetailListResp = pb.AdPlanDetailListResp AdPlanDetailVo = pb.AdPlanDetailVo AdPlanListReq = pb.AdPlanListReq AdPlanListResp = pb.AdPlanListResp AdPlanVo = pb.AdPlanVo AnnouncePlanDetailListReq = pb.AnnouncePlanDetailListReq AnnouncePlanDetailListResp = pb.AnnouncePlanDetailListResp AnnouncePlanDetailVo = pb.AnnouncePlanDetailVo AnnouncePlanListReq = pb.AnnouncePlanListReq AnnouncePlanListResp = pb.AnnouncePlanListResp AnnouncePlanVo = pb.AnnouncePlanVo AreaParamListReq = pb.AreaParamListReq AreaParamListResp = pb.AreaParamListResp AreaParamVo = pb.AreaParamVo BaseReq = pb.BaseReq CommonResult = pb.CommonResult ConfigGetReq = pb.ConfigGetReq DeleteIdResp = pb.DeleteIdResp DeployConfigListReq = pb.DeployConfigListReq DeployConfigListResp = pb.DeployConfigListResp DeployConfigVo = pb.DeployConfigVo DeviceListReq = pb.DeviceListReq DeviceListRes = pb.DeviceListRes DeviceVo = pb.DeviceVo DictGetReq = pb.DictGetReq DictListReq = pb.DictListReq DictListResp = pb.DictListResp DictVo = pb.DictVo Empty = pb.Empty GameCategoryListReq = pb.GameCategoryListReq GameCategoryListRes = pb.GameCategoryListRes GameCategoryReq = pb.GameCategoryReq GameCategoryVo = pb.GameCategoryVo GameCustomerAddResp = pb.GameCustomerAddResp GameCustomerListReq = pb.GameCustomerListReq GameCustomerListRes = pb.GameCustomerListRes GameCustomerVo = pb.GameCustomerVo GameListReq = pb.GameListReq GameListRes = pb.GameListRes GameRedisHScanByNameReq = pb.GameRedisHScanByNameReq GameRedisHScanByNameResp = pb.GameRedisHScanByNameResp GameReq = pb.GameReq GameVo = pb.GameVo GlobalParamGetReq = pb.GlobalParamGetReq GlobalParamListReq = pb.GlobalParamListReq GlobalParamListResp = pb.GlobalParamListResp GlobalParamVo = pb.GlobalParamVo I18NVo = pb.I18NVo Ids = pb.Ids Int64SelectController = pb.Int64SelectController IntSelectController = pb.IntSelectController JobBatchListReq = pb.JobBatchListReq JobBatchListResp = pb.JobBatchListResp JobBatchListWithTasksResp = pb.JobBatchListWithTasksResp JobBatchVo = pb.JobBatchVo JobBatchWithTasksVo = pb.JobBatchWithTasksVo JobTasksListReq = pb.JobTasksListReq JobTasksListResp = pb.JobTasksListResp JobTasksVo = pb.JobTasksVo MessagePushListReq = pb.MessagePushListReq MessagePushListResp = pb.MessagePushListResp MessagePushVo = pb.MessagePushVo NationalLanguageListReq = pb.NationalLanguageListReq NationalLanguageListResp = pb.NationalLanguageListResp NationalLanguageVo = pb.NationalLanguageVo OperationLogListReq = pb.OperationLogListReq OperationLogListResp = pb.OperationLogListResp OperationLogVo = pb.OperationLogVo Page = pb.Page Page_OrderItem = pb.Page_OrderItem ProductActionListReq = pb.ProductActionListReq ProductActionListResp = pb.ProductActionListResp ProductActionReq = pb.ProductActionReq ProductActionVo = pb.ProductActionVo ProductListReq = pb.ProductListReq ProductListResp = pb.ProductListResp ProductParamGetReq = pb.ProductParamGetReq ProductParamListReq = pb.ProductParamListReq ProductParamListResp = pb.ProductParamListResp ProductParamVo = pb.ProductParamVo ProductVo = pb.ProductVo RelGameRankListReq = pb.RelGameRankListReq RelGameRankListRes = pb.RelGameRankListRes RelGameRankReq = pb.RelGameRankReq RelGameRankVo = pb.RelGameRankVo RelGameVpnGroupListReq = pb.RelGameVpnGroupListReq RelGameVpnGroupListRes = pb.RelGameVpnGroupListRes RelGameVpnGroupReq = pb.RelGameVpnGroupReq RelGameVpnGroupVo = pb.RelGameVpnGroupVo Request = pb.Request Response = pb.Response ServiceSetsAddReq = pb.ServiceSetsAddReq ServiceSetsDelReq = pb.ServiceSetsDelReq ServiceSetsGetReq = pb.ServiceSetsGetReq ServiceSetsListReq = pb.ServiceSetsListReq ServiceSetsListResp = pb.ServiceSetsListResp ServiceSetsUpdateReq = pb.ServiceSetsUpdateReq ServiceSetsVo = pb.ServiceSetsVo ServiceTypesAddReq = pb.ServiceTypesAddReq ServiceTypesDelReq = pb.ServiceTypesDelReq ServiceTypesGetReq = pb.ServiceTypesGetReq ServiceTypesListReq = pb.ServiceTypesListReq ServiceTypesListResp = pb.ServiceTypesListResp ServiceTypesUpdateReq = pb.ServiceTypesUpdateReq ServiceTypesVo = pb.ServiceTypesVo SetTotalStatsReq = pb.SetTotalStatsReq ShortDramaCheckNameReq = pb.ShortDramaCheckNameReq ShortDramaCheckNameResp = pb.ShortDramaCheckNameResp ShortDramaEpisodeBatchAddReq = pb.ShortDramaEpisodeBatchAddReq ShortDramaEpisodeBatchRefreshUpdateTimeReq = pb.ShortDramaEpisodeBatchRefreshUpdateTimeReq ShortDramaEpisodeCountReq = pb.ShortDramaEpisodeCountReq ShortDramaEpisodeCountResp = pb.ShortDramaEpisodeCountResp ShortDramaEpisodeCountVo = pb.ShortDramaEpisodeCountVo ShortDramaEpisodeGetReq = pb.ShortDramaEpisodeGetReq ShortDramaEpisodeListReq = pb.ShortDramaEpisodeListReq ShortDramaEpisodeListResp = pb.ShortDramaEpisodeListResp ShortDramaEpisodeVo = pb.ShortDramaEpisodeVo ShortDramaGetReq = pb.ShortDramaGetReq ShortDramaLanguageListReq = pb.ShortDramaLanguageListReq ShortDramaLanguageListResp = pb.ShortDramaLanguageListResp ShortDramaLanguageVo = pb.ShortDramaLanguageVo ShortDramaListReq = pb.ShortDramaListReq ShortDramaListResp = pb.ShortDramaListResp ShortDramaStatsPlaysTotalListReq = pb.ShortDramaStatsPlaysTotalListReq ShortDramaStatsPlaysTotalListResp = pb.ShortDramaStatsPlaysTotalListResp ShortDramaStatsPlaysTotalVo = pb.ShortDramaStatsPlaysTotalVo ShortDramaUpdateModifierReq = pb.ShortDramaUpdateModifierReq ShortDramaVo = pb.ShortDramaVo StringSelectController = pb.StringSelectController SysPermGetReq = pb.SysPermGetReq SysPermListReq = pb.SysPermListReq SysPermListResp = pb.SysPermListResp SysPermRule = pb.SysPermRule SysPermVo = pb.SysPermVo SysRoleGetReq = pb.SysRoleGetReq SysRoleListReq = pb.SysRoleListReq SysRoleListResp = pb.SysRoleListResp SysRoleListWithPermsResp = pb.SysRoleListWithPermsResp SysRolePermGetReq = pb.SysRolePermGetReq SysRolePermListReq = pb.SysRolePermListReq SysRolePermListResp = pb.SysRolePermListResp SysRolePermVo = pb.SysRolePermVo SysRoleVo = pb.SysRoleVo SysRoleWithPermIds = pb.SysRoleWithPermIds SysRoleWithPerms = pb.SysRoleWithPerms SysUserGetReq = pb.SysUserGetReq SysUserListReq = pb.SysUserListReq SysUserListResp = pb.SysUserListResp SysUserListWithRolesAndPermsResp = pb.SysUserListWithRolesAndPermsResp SysUserPermGetReq = pb.SysUserPermGetReq SysUserPermListReq = pb.SysUserPermListReq SysUserPermListResp = pb.SysUserPermListResp SysUserPermVo = pb.SysUserPermVo SysUserRoleGetReq = pb.SysUserRoleGetReq SysUserRoleListReq = pb.SysUserRoleListReq SysUserRoleListResp = pb.SysUserRoleListResp SysUserRoleVo = pb.SysUserRoleVo SysUserVo = pb.SysUserVo SysUserWithRoleIdsAndPermRules = pb.SysUserWithRoleIdsAndPermRules SysUserWithRolesAndPerms = pb.SysUserWithRolesAndPerms TimeRange = pb.TimeRange TipGetReq = pb.TipGetReq TipListReq = pb.TipListReq TipListResp = pb.TipListResp TipVo = pb.TipVo TransactionOperation = pb.TransactionOperation TransactionReq = pb.TransactionReq UpgradePkgPlanDetailListReq = pb.UpgradePkgPlanDetailListReq UpgradePkgPlanDetailListResp = pb.UpgradePkgPlanDetailListResp UpgradePkgPlanDetailVo = pb.UpgradePkgPlanDetailVo UpgradePkgPlanListReq = pb.UpgradePkgPlanListReq UpgradePkgPlanListResp = pb.UpgradePkgPlanListResp UpgradePkgPlanVo = pb.UpgradePkgPlanVo UpgradeResPlanDetailListReq = pb.UpgradeResPlanDetailListReq UpgradeResPlanDetailListResp = pb.UpgradeResPlanDetailListResp UpgradeResPlanDetailVo = pb.UpgradeResPlanDetailVo UpgradeResPlanListReq = pb.UpgradeResPlanListReq UpgradeResPlanListResp = pb.UpgradeResPlanListResp UpgradeResPlanVo = pb.UpgradeResPlanVo UserAppConfigGetReq = pb.UserAppConfigGetReq UserAppConfigListReq = pb.UserAppConfigListReq UserAppConfigListRes = pb.UserAppConfigListRes UserAppConfigVo = pb.UserAppConfigVo VpnGroupAddReq = pb.VpnGroupAddReq VpnGroupBatchAddReq = pb.VpnGroupBatchAddReq VpnGroupBatchAddResp = pb.VpnGroupBatchAddResp VpnGroupBatchDelReq = pb.VpnGroupBatchDelReq VpnGroupBatchUpdateReq = pb.VpnGroupBatchUpdateReq VpnGroupBatchUpdateResp = pb.VpnGroupBatchUpdateResp VpnGroupExVo = pb.VpnGroupExVo VpnGroupGetReq = pb.VpnGroupGetReq VpnGroupListReq = pb.VpnGroupListReq VpnGroupListResp = pb.VpnGroupListResp VpnGroupTagListReq = pb.VpnGroupTagListReq VpnGroupTagListResp = pb.VpnGroupTagListResp VpnGroupTagVo = pb.VpnGroupTagVo VpnGroupVo = pb.VpnGroupVo VpnLocationBatchAddReq = pb.VpnLocationBatchAddReq VpnLocationBatchAddResp = pb.VpnLocationBatchAddResp VpnLocationBatchDelReq = pb.VpnLocationBatchDelReq VpnLocationBatchUpdateReq = pb.VpnLocationBatchUpdateReq VpnLocationBatchUpdateResp = pb.VpnLocationBatchUpdateResp VpnLocationExVo = pb.VpnLocationExVo VpnLocationGetReq = pb.VpnLocationGetReq VpnLocationListReq = pb.VpnLocationListReq VpnLocationListResp = pb.VpnLocationListResp VpnLocationServerCountReq = pb.VpnLocationServerCountReq VpnLocationServerCountResp = pb.VpnLocationServerCountResp VpnLocationServerCountVo = pb.VpnLocationServerCountVo VpnLocationVo = pb.VpnLocationVo VpnProbeTaskListReq = pb.VpnProbeTaskListReq VpnProbeTaskListResp = pb.VpnProbeTaskListResp VpnProbeTaskVo = pb.VpnProbeTaskVo VpnServerAddReq = pb.VpnServerAddReq VpnServerBatchAddReq = pb.VpnServerBatchAddReq VpnServerBatchAddResp = pb.VpnServerBatchAddResp VpnServerBatchDelReq = pb.VpnServerBatchDelReq VpnServerBatchUpdateReq = pb.VpnServerBatchUpdateReq VpnServerBatchUpdateResp = pb.VpnServerBatchUpdateResp VpnServerExListResp = pb.VpnServerExListResp VpnServerExVo = pb.VpnServerExVo VpnServerListReq = pb.VpnServerListReq VpnServerListResp = pb.VpnServerListResp VpnServerLocationListReq = pb.VpnServerLocationListReq VpnServerLocationListResp = pb.VpnServerLocationListResp VpnServerLocationVo = pb.VpnServerLocationVo VpnServerVo = pb.VpnServerVo VpnTagBatchAddReq = pb.VpnTagBatchAddReq VpnTagBatchAddResp = pb.VpnTagBatchAddResp VpnTagBatchDelReq = pb.VpnTagBatchDelReq VpnTagBatchUpdateReq = pb.VpnTagBatchUpdateReq VpnTagBatchUpdateResp = pb.VpnTagBatchUpdateResp VpnTagGetReq = pb.VpnTagGetReq VpnTagListReq = pb.VpnTagListReq VpnTagListResp = pb.VpnTagListResp VpnTagVo = pb.VpnTagVo GoVpnClient interface { Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) // 表的事务操作 Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) // VpnTag VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) // VpnGroup VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) // VpnGroupTag VpnGroupTagAdd(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) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) // VpnLocation VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) // VpnServer VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) // VpnServerLocation VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) // VpnLocationServerCount VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) // VpnProbeTask VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) } defaultGoVpnClient struct { cli zrpc.Client } ) func NewGoVpnClient(cli zrpc.Client) GoVpnClient { return &defaultGoVpnClient{ cli: cli, } } func (m *defaultGoVpnClient) Ping(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.Ping(ctx, in, opts...) } // 表的事务操作 func (m *defaultGoVpnClient) Transaction(ctx context.Context, in *TransactionReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.Transaction(ctx, in, opts...) } // VpnTag func (m *defaultGoVpnClient) VpnTagAdd(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagUpdate(ctx context.Context, in *VpnTagVo, opts ...grpc.CallOption) (*VpnTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagGet(ctx context.Context, in *VpnTagGetReq, opts ...grpc.CallOption) (*VpnTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagList(ctx context.Context, in *VpnTagListReq, opts ...grpc.CallOption) (*VpnTagListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagList(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagBatchAdd(ctx context.Context, in *VpnTagBatchAddReq, opts ...grpc.CallOption) (*VpnTagBatchAddResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagBatchAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnTagBatchUpdate(ctx context.Context, in *VpnTagBatchUpdateReq, opts ...grpc.CallOption) (*VpnTagBatchUpdateResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnTagBatchUpdate(ctx, in, opts...) } // VpnGroup func (m *defaultGoVpnClient) VpnGroupAdd(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*VpnGroupVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupUpdate(ctx context.Context, in *VpnGroupAddReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupGet(ctx context.Context, in *VpnGroupGetReq, opts ...grpc.CallOption) (*VpnGroupVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupList(ctx context.Context, in *VpnGroupListReq, opts ...grpc.CallOption) (*VpnGroupListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupList(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupBatchAdd(ctx context.Context, in *VpnGroupBatchAddReq, opts ...grpc.CallOption) (*VpnGroupBatchAddResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupBatchAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupBatchUpdate(ctx context.Context, in *VpnGroupBatchUpdateReq, opts ...grpc.CallOption) (*VpnGroupBatchUpdateResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupBatchUpdate(ctx, in, opts...) } // VpnGroupTag func (m *defaultGoVpnClient) VpnGroupTagAdd(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupTagAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupTagUpdate(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupTagUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupTagDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupTagDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupTagGet(ctx context.Context, in *VpnGroupTagVo, opts ...grpc.CallOption) (*VpnGroupTagVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupTagGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnGroupTagList(ctx context.Context, in *VpnGroupTagListReq, opts ...grpc.CallOption) (*VpnGroupTagListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnGroupTagList(ctx, in, opts...) } // VpnLocation func (m *defaultGoVpnClient) VpnLocationAdd(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*VpnLocationVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationUpdate(ctx context.Context, in *VpnLocationVo, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationGet(ctx context.Context, in *VpnLocationGetReq, opts ...grpc.CallOption) (*VpnLocationVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationList(ctx context.Context, in *VpnLocationListReq, opts ...grpc.CallOption) (*VpnLocationListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationList(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationBatchAdd(ctx context.Context, in *VpnLocationBatchAddReq, opts ...grpc.CallOption) (*VpnLocationBatchAddResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationBatchAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnLocationBatchUpdate(ctx context.Context, in *VpnLocationBatchUpdateReq, opts ...grpc.CallOption) (*VpnLocationBatchUpdateResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationBatchUpdate(ctx, in, opts...) } // VpnServer func (m *defaultGoVpnClient) VpnServerAdd(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerUpdate(ctx context.Context, in *VpnServerAddReq, opts ...grpc.CallOption) (*VpnServerAddReq, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerGet(ctx context.Context, in *VpnServerVo, opts ...grpc.CallOption) (*VpnServerVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerList(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerExList(ctx context.Context, in *VpnServerListReq, opts ...grpc.CallOption) (*VpnServerExListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerExList(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerBatchAdd(ctx context.Context, in *VpnServerBatchAddReq, opts ...grpc.CallOption) (*VpnServerBatchAddResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerBatchAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerBatchUpdate(ctx context.Context, in *VpnServerBatchUpdateReq, opts ...grpc.CallOption) (*VpnServerBatchUpdateResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerBatchUpdate(ctx, in, opts...) } // VpnServerLocation func (m *defaultGoVpnClient) VpnServerLocationAdd(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerLocationAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerLocationUpdate(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerLocationUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerLocationDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerLocationDel(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerLocationGet(ctx context.Context, in *VpnServerLocationVo, opts ...grpc.CallOption) (*VpnServerLocationVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerLocationGet(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnServerLocationList(ctx context.Context, in *VpnServerLocationListReq, opts ...grpc.CallOption) (*VpnServerLocationListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnServerLocationList(ctx, in, opts...) } // VpnLocationServerCount func (m *defaultGoVpnClient) VpnLocationServerCount(ctx context.Context, in *VpnLocationServerCountReq, opts ...grpc.CallOption) (*VpnLocationServerCountResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnLocationServerCount(ctx, in, opts...) } // VpnProbeTask func (m *defaultGoVpnClient) VpnProbeTaskAdd(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*VpnProbeTaskVo, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnProbeTaskAdd(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnProbeTaskUpdate(ctx context.Context, in *VpnProbeTaskVo, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnProbeTaskUpdate(ctx, in, opts...) } func (m *defaultGoVpnClient) VpnProbeTaskList(ctx context.Context, in *VpnProbeTaskListReq, opts ...grpc.CallOption) (*VpnProbeTaskListResp, error) { client := pb.NewGoVpnClientClient(m.cli.Conn()) return client.VpnProbeTaskList(ctx, in, opts...) }