// Code generated by goctl. DO NOT EDIT. // goctl 1.8.5 // Source: gorpc.proto package goshortdramaclient import ( "context" "code.clickto.dev/nomo-server/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 GoShortDramaClient interface { // ShortDrama ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error) ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error) ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error) ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error) ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error) // ShortDramaLanguage ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error) // ShortDramaEpisode ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error) ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error) ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error) ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error) // ShortDramaEpisodeCount ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error) ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error) // ShortDramaStats SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error) // ShortDramaStatsPlaysTotal ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error) } defaultGoShortDramaClient struct { cli zrpc.Client } ) func NewGoShortDramaClient(cli zrpc.Client) GoShortDramaClient { return &defaultGoShortDramaClient{ cli: cli, } } // ShortDrama func (m *defaultGoShortDramaClient) ShortDramaAdd(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*ShortDramaVo, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaAdd(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaUpdate(ctx context.Context, in *ShortDramaVo, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaUpdate(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaDel(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaGet(ctx context.Context, in *ShortDramaGetReq, opts ...grpc.CallOption) (*ShortDramaVo, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaGet(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaList(ctx context.Context, in *ShortDramaListReq, opts ...grpc.CallOption) (*ShortDramaListResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaList(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaUpdateModifier(ctx context.Context, in *ShortDramaUpdateModifierReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaUpdateModifier(ctx, in, opts...) } // ShortDramaLanguage func (m *defaultGoShortDramaClient) ShortDramaLanguageList(ctx context.Context, in *ShortDramaLanguageListReq, opts ...grpc.CallOption) (*ShortDramaLanguageListResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaLanguageList(ctx, in, opts...) } // ShortDramaEpisode func (m *defaultGoShortDramaClient) ShortDramaEpisodeAdd(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeAdd(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeBatchAdd(ctx context.Context, in *ShortDramaEpisodeBatchAddReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeBatchAdd(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeUpdate(ctx context.Context, in *ShortDramaEpisodeVo, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeUpdate(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeDel(ctx context.Context, in *Ids, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeDel(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeGet(ctx context.Context, in *ShortDramaEpisodeGetReq, opts ...grpc.CallOption) (*ShortDramaEpisodeVo, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeGet(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeList(ctx context.Context, in *ShortDramaEpisodeListReq, opts ...grpc.CallOption) (*ShortDramaEpisodeListResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeList(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaEpisodeBatchRefreshUpdateTime(ctx context.Context, in *ShortDramaEpisodeBatchRefreshUpdateTimeReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeBatchRefreshUpdateTime(ctx, in, opts...) } // ShortDramaEpisodeCount func (m *defaultGoShortDramaClient) ShortDramaEpisodeCount(ctx context.Context, in *ShortDramaEpisodeCountReq, opts ...grpc.CallOption) (*ShortDramaEpisodeCountResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaEpisodeCount(ctx, in, opts...) } func (m *defaultGoShortDramaClient) ShortDramaCheckName(ctx context.Context, in *ShortDramaCheckNameReq, opts ...grpc.CallOption) (*ShortDramaCheckNameResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaCheckName(ctx, in, opts...) } // ShortDramaStats func (m *defaultGoShortDramaClient) SetTotalStats(ctx context.Context, in *SetTotalStatsReq, opts ...grpc.CallOption) (*Empty, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.SetTotalStats(ctx, in, opts...) } // ShortDramaStatsPlaysTotal func (m *defaultGoShortDramaClient) ShortDramaStatsPlaysTotalList(ctx context.Context, in *ShortDramaStatsPlaysTotalListReq, opts ...grpc.CallOption) (*ShortDramaStatsPlaysTotalListResp, error) { client := pb.NewGoShortDramaClientClient(m.cli.Conn()) return client.ShortDramaStatsPlaysTotalList(ctx, in, opts...) }