1104 lines
50 KiB
Go
1104 lines
50 KiB
Go
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-triple v1.0.8
|
|
// - protoc v4.22.0--rc2
|
|
// source: pb/artistinfoArtshow.proto
|
|
|
|
package artistinfoArtshow
|
|
|
|
import (
|
|
context "context"
|
|
protocol "dubbo.apache.org/dubbo-go/v3/protocol"
|
|
dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3"
|
|
invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation"
|
|
grpc_go "github.com/dubbogo/grpc-go"
|
|
codes "github.com/dubbogo/grpc-go/codes"
|
|
metadata "github.com/dubbogo/grpc-go/metadata"
|
|
status "github.com/dubbogo/grpc-go/status"
|
|
common "github.com/dubbogo/triple/pkg/common"
|
|
constant "github.com/dubbogo/triple/pkg/common/constant"
|
|
triple "github.com/dubbogo/triple/pkg/triple"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc_go.SupportPackageIsVersion7
|
|
|
|
// ArtistInfoArtshowClient is the client API for ArtistInfoArtshow service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
type ArtistInfoArtshowClient interface {
|
|
// 画展视频
|
|
GetArtshowVideoDetail(ctx context.Context, in *GetArtshowVideoDetailRequest, opts ...grpc_go.CallOption) (*ArtshowVideoInfo, common.ErrorWithAttachment)
|
|
GetArtshowVideoList(ctx context.Context, in *GetArtshowVideoListRequst, opts ...grpc_go.CallOption) (*GetArtshowVideoListResponse, common.ErrorWithAttachment)
|
|
CreateArtshowVideo(ctx context.Context, in *ArtshowVideoInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
BatchCreateArtshowVideo(ctx context.Context, in *BatchCreateArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
AuditArtshowVideo(ctx context.Context, in *AuditArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
UpdateArtshowVideo(ctx context.Context, in *UpdateArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
DeletedArtshowVideo(ctx context.Context, in *DeletedArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
// rpc CheckeExists(CheckeExistsRequest)returns(google.protobuf.Empty){} //删除画展视频
|
|
// rpc GetArtistListOfVideo(ArtistListRequest)returns(){}//获取后台画家指数审批的画家列表
|
|
GetArtshowHistroyList(ctx context.Context, in *GetArtshowHistroyListRequest, opts ...grpc_go.CallOption) (*GetArtshowHistroyListResponse, common.ErrorWithAttachment)
|
|
// 画家指数
|
|
GetArtistIndexDetail(ctx context.Context, in *GetArtistIndexDetailRequest, opts ...grpc_go.CallOption) (*ArtistIndexInfo, common.ErrorWithAttachment)
|
|
GetArtistIndexList(ctx context.Context, in *GetArtistIndexListRequest, opts ...grpc_go.CallOption) (*GetArtistIndexListResponse, common.ErrorWithAttachment)
|
|
CreateArtistIndex(ctx context.Context, in *ArtistIndexInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
BatchCreateArtistIndex(ctx context.Context, in *BatchCreateArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
AuditArtistIndex(ctx context.Context, in *AuditArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
UpdateArtistIndex(ctx context.Context, in *UpdateArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
DeletedArtistIndex(ctx context.Context, in *DeletedArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
// 画家补充信息
|
|
GetArtistSupplementDetail(ctx context.Context, in *GetArtistSupplementDetailRequest, opts ...grpc_go.CallOption) (*ArtistSupplementInfo, common.ErrorWithAttachment)
|
|
GetArtistSupplementList(ctx context.Context, in *GetArtistSupplementListRequest, opts ...grpc_go.CallOption) (*GetArtistSupplementListResponse, common.ErrorWithAttachment)
|
|
CreateArtistSupplement(ctx context.Context, in *ArtistSupplementInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
BatchCreateArtistSupplement(ctx context.Context, in *BatchCreateArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
AuditArtistSupplement(ctx context.Context, in *AuditArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
UpdateArtistSupplement(ctx context.Context, in *UpdateArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
DeletedArtistSupplement(ctx context.Context, in *DeletedArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment)
|
|
}
|
|
|
|
type artistInfoArtshowClient struct {
|
|
cc *triple.TripleConn
|
|
}
|
|
|
|
type ArtistInfoArtshowClientImpl struct {
|
|
GetArtshowVideoDetail func(ctx context.Context, in *GetArtshowVideoDetailRequest) (*ArtshowVideoInfo, error)
|
|
GetArtshowVideoList func(ctx context.Context, in *GetArtshowVideoListRequst) (*GetArtshowVideoListResponse, error)
|
|
CreateArtshowVideo func(ctx context.Context, in *ArtshowVideoInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtshowVideo func(ctx context.Context, in *BatchCreateArtshowVideoRequest) (*emptypb.Empty, error)
|
|
AuditArtshowVideo func(ctx context.Context, in *AuditArtshowVideoRequest) (*emptypb.Empty, error)
|
|
UpdateArtshowVideo func(ctx context.Context, in *UpdateArtshowVideoRequest) (*emptypb.Empty, error)
|
|
DeletedArtshowVideo func(ctx context.Context, in *DeletedArtshowVideoRequest) (*emptypb.Empty, error)
|
|
GetArtshowHistroyList func(ctx context.Context, in *GetArtshowHistroyListRequest) (*GetArtshowHistroyListResponse, error)
|
|
GetArtistIndexDetail func(ctx context.Context, in *GetArtistIndexDetailRequest) (*ArtistIndexInfo, error)
|
|
GetArtistIndexList func(ctx context.Context, in *GetArtistIndexListRequest) (*GetArtistIndexListResponse, error)
|
|
CreateArtistIndex func(ctx context.Context, in *ArtistIndexInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtistIndex func(ctx context.Context, in *BatchCreateArtistIndexRequest) (*emptypb.Empty, error)
|
|
AuditArtistIndex func(ctx context.Context, in *AuditArtistIndexRequest) (*emptypb.Empty, error)
|
|
UpdateArtistIndex func(ctx context.Context, in *UpdateArtistIndexRequest) (*emptypb.Empty, error)
|
|
DeletedArtistIndex func(ctx context.Context, in *DeletedArtistIndexRequest) (*emptypb.Empty, error)
|
|
GetArtistSupplementDetail func(ctx context.Context, in *GetArtistSupplementDetailRequest) (*ArtistSupplementInfo, error)
|
|
GetArtistSupplementList func(ctx context.Context, in *GetArtistSupplementListRequest) (*GetArtistSupplementListResponse, error)
|
|
CreateArtistSupplement func(ctx context.Context, in *ArtistSupplementInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtistSupplement func(ctx context.Context, in *BatchCreateArtistSupplementRequest) (*emptypb.Empty, error)
|
|
AuditArtistSupplement func(ctx context.Context, in *AuditArtistSupplementRequest) (*emptypb.Empty, error)
|
|
UpdateArtistSupplement func(ctx context.Context, in *UpdateArtistSupplementRequest) (*emptypb.Empty, error)
|
|
DeletedArtistSupplement func(ctx context.Context, in *DeletedArtistSupplementRequest) (*emptypb.Empty, error)
|
|
}
|
|
|
|
func (c *ArtistInfoArtshowClientImpl) GetDubboStub(cc *triple.TripleConn) ArtistInfoArtshowClient {
|
|
return NewArtistInfoArtshowClient(cc)
|
|
}
|
|
|
|
func (c *ArtistInfoArtshowClientImpl) XXX_InterfaceName() string {
|
|
return "artistinfo.ArtistInfoArtshow"
|
|
}
|
|
|
|
func NewArtistInfoArtshowClient(cc *triple.TripleConn) ArtistInfoArtshowClient {
|
|
return &artistInfoArtshowClient{cc}
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtshowVideoDetail(ctx context.Context, in *GetArtshowVideoDetailRequest, opts ...grpc_go.CallOption) (*ArtshowVideoInfo, common.ErrorWithAttachment) {
|
|
out := new(ArtshowVideoInfo)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtshowVideoDetail", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtshowVideoList(ctx context.Context, in *GetArtshowVideoListRequst, opts ...grpc_go.CallOption) (*GetArtshowVideoListResponse, common.ErrorWithAttachment) {
|
|
out := new(GetArtshowVideoListResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtshowVideoList", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) CreateArtshowVideo(ctx context.Context, in *ArtshowVideoInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateArtshowVideo", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) BatchCreateArtshowVideo(ctx context.Context, in *BatchCreateArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BatchCreateArtshowVideo", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) AuditArtshowVideo(ctx context.Context, in *AuditArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AuditArtshowVideo", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) UpdateArtshowVideo(ctx context.Context, in *UpdateArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtshowVideo", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) DeletedArtshowVideo(ctx context.Context, in *DeletedArtshowVideoRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeletedArtshowVideo", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtshowHistroyList(ctx context.Context, in *GetArtshowHistroyListRequest, opts ...grpc_go.CallOption) (*GetArtshowHistroyListResponse, common.ErrorWithAttachment) {
|
|
out := new(GetArtshowHistroyListResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtshowHistroyList", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtistIndexDetail(ctx context.Context, in *GetArtistIndexDetailRequest, opts ...grpc_go.CallOption) (*ArtistIndexInfo, common.ErrorWithAttachment) {
|
|
out := new(ArtistIndexInfo)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistIndexDetail", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtistIndexList(ctx context.Context, in *GetArtistIndexListRequest, opts ...grpc_go.CallOption) (*GetArtistIndexListResponse, common.ErrorWithAttachment) {
|
|
out := new(GetArtistIndexListResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistIndexList", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) CreateArtistIndex(ctx context.Context, in *ArtistIndexInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateArtistIndex", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) BatchCreateArtistIndex(ctx context.Context, in *BatchCreateArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BatchCreateArtistIndex", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) AuditArtistIndex(ctx context.Context, in *AuditArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AuditArtistIndex", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) UpdateArtistIndex(ctx context.Context, in *UpdateArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtistIndex", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) DeletedArtistIndex(ctx context.Context, in *DeletedArtistIndexRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeletedArtistIndex", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtistSupplementDetail(ctx context.Context, in *GetArtistSupplementDetailRequest, opts ...grpc_go.CallOption) (*ArtistSupplementInfo, common.ErrorWithAttachment) {
|
|
out := new(ArtistSupplementInfo)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistSupplementDetail", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) GetArtistSupplementList(ctx context.Context, in *GetArtistSupplementListRequest, opts ...grpc_go.CallOption) (*GetArtistSupplementListResponse, common.ErrorWithAttachment) {
|
|
out := new(GetArtistSupplementListResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistSupplementList", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) CreateArtistSupplement(ctx context.Context, in *ArtistSupplementInfo, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateArtistSupplement", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) BatchCreateArtistSupplement(ctx context.Context, in *BatchCreateArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BatchCreateArtistSupplement", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) AuditArtistSupplement(ctx context.Context, in *AuditArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AuditArtistSupplement", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) UpdateArtistSupplement(ctx context.Context, in *UpdateArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtistSupplement", in, out)
|
|
}
|
|
|
|
func (c *artistInfoArtshowClient) DeletedArtistSupplement(ctx context.Context, in *DeletedArtistSupplementRequest, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) {
|
|
out := new(emptypb.Empty)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DeletedArtistSupplement", in, out)
|
|
}
|
|
|
|
// ArtistInfoArtshowServer is the server API for ArtistInfoArtshow service.
|
|
// All implementations must embed UnimplementedArtistInfoArtshowServer
|
|
// for forward compatibility
|
|
type ArtistInfoArtshowServer interface {
|
|
// 画展视频
|
|
GetArtshowVideoDetail(context.Context, *GetArtshowVideoDetailRequest) (*ArtshowVideoInfo, error)
|
|
GetArtshowVideoList(context.Context, *GetArtshowVideoListRequst) (*GetArtshowVideoListResponse, error)
|
|
CreateArtshowVideo(context.Context, *ArtshowVideoInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtshowVideo(context.Context, *BatchCreateArtshowVideoRequest) (*emptypb.Empty, error)
|
|
AuditArtshowVideo(context.Context, *AuditArtshowVideoRequest) (*emptypb.Empty, error)
|
|
UpdateArtshowVideo(context.Context, *UpdateArtshowVideoRequest) (*emptypb.Empty, error)
|
|
DeletedArtshowVideo(context.Context, *DeletedArtshowVideoRequest) (*emptypb.Empty, error)
|
|
// rpc CheckeExists(CheckeExistsRequest)returns(google.protobuf.Empty){} //删除画展视频
|
|
// rpc GetArtistListOfVideo(ArtistListRequest)returns(){}//获取后台画家指数审批的画家列表
|
|
GetArtshowHistroyList(context.Context, *GetArtshowHistroyListRequest) (*GetArtshowHistroyListResponse, error)
|
|
// 画家指数
|
|
GetArtistIndexDetail(context.Context, *GetArtistIndexDetailRequest) (*ArtistIndexInfo, error)
|
|
GetArtistIndexList(context.Context, *GetArtistIndexListRequest) (*GetArtistIndexListResponse, error)
|
|
CreateArtistIndex(context.Context, *ArtistIndexInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtistIndex(context.Context, *BatchCreateArtistIndexRequest) (*emptypb.Empty, error)
|
|
AuditArtistIndex(context.Context, *AuditArtistIndexRequest) (*emptypb.Empty, error)
|
|
UpdateArtistIndex(context.Context, *UpdateArtistIndexRequest) (*emptypb.Empty, error)
|
|
DeletedArtistIndex(context.Context, *DeletedArtistIndexRequest) (*emptypb.Empty, error)
|
|
// 画家补充信息
|
|
GetArtistSupplementDetail(context.Context, *GetArtistSupplementDetailRequest) (*ArtistSupplementInfo, error)
|
|
GetArtistSupplementList(context.Context, *GetArtistSupplementListRequest) (*GetArtistSupplementListResponse, error)
|
|
CreateArtistSupplement(context.Context, *ArtistSupplementInfo) (*emptypb.Empty, error)
|
|
BatchCreateArtistSupplement(context.Context, *BatchCreateArtistSupplementRequest) (*emptypb.Empty, error)
|
|
AuditArtistSupplement(context.Context, *AuditArtistSupplementRequest) (*emptypb.Empty, error)
|
|
UpdateArtistSupplement(context.Context, *UpdateArtistSupplementRequest) (*emptypb.Empty, error)
|
|
DeletedArtistSupplement(context.Context, *DeletedArtistSupplementRequest) (*emptypb.Empty, error)
|
|
mustEmbedUnimplementedArtistInfoArtshowServer()
|
|
}
|
|
|
|
// UnimplementedArtistInfoArtshowServer must be embedded to have forward compatible implementations.
|
|
type UnimplementedArtistInfoArtshowServer struct {
|
|
proxyImpl protocol.Invoker
|
|
}
|
|
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtshowVideoDetail(context.Context, *GetArtshowVideoDetailRequest) (*ArtshowVideoInfo, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtshowVideoDetail not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtshowVideoList(context.Context, *GetArtshowVideoListRequst) (*GetArtshowVideoListResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtshowVideoList not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) CreateArtshowVideo(context.Context, *ArtshowVideoInfo) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateArtshowVideo not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) BatchCreateArtshowVideo(context.Context, *BatchCreateArtshowVideoRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method BatchCreateArtshowVideo not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) AuditArtshowVideo(context.Context, *AuditArtshowVideoRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AuditArtshowVideo not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) UpdateArtshowVideo(context.Context, *UpdateArtshowVideoRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateArtshowVideo not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) DeletedArtshowVideo(context.Context, *DeletedArtshowVideoRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeletedArtshowVideo not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtshowHistroyList(context.Context, *GetArtshowHistroyListRequest) (*GetArtshowHistroyListResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtshowHistroyList not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtistIndexDetail(context.Context, *GetArtistIndexDetailRequest) (*ArtistIndexInfo, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtistIndexDetail not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtistIndexList(context.Context, *GetArtistIndexListRequest) (*GetArtistIndexListResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtistIndexList not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) CreateArtistIndex(context.Context, *ArtistIndexInfo) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateArtistIndex not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) BatchCreateArtistIndex(context.Context, *BatchCreateArtistIndexRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method BatchCreateArtistIndex not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) AuditArtistIndex(context.Context, *AuditArtistIndexRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AuditArtistIndex not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) UpdateArtistIndex(context.Context, *UpdateArtistIndexRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateArtistIndex not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) DeletedArtistIndex(context.Context, *DeletedArtistIndexRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeletedArtistIndex not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtistSupplementDetail(context.Context, *GetArtistSupplementDetailRequest) (*ArtistSupplementInfo, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtistSupplementDetail not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) GetArtistSupplementList(context.Context, *GetArtistSupplementListRequest) (*GetArtistSupplementListResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetArtistSupplementList not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) CreateArtistSupplement(context.Context, *ArtistSupplementInfo) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateArtistSupplement not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) BatchCreateArtistSupplement(context.Context, *BatchCreateArtistSupplementRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method BatchCreateArtistSupplement not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) AuditArtistSupplement(context.Context, *AuditArtistSupplementRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AuditArtistSupplement not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) UpdateArtistSupplement(context.Context, *UpdateArtistSupplementRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateArtistSupplement not implemented")
|
|
}
|
|
func (UnimplementedArtistInfoArtshowServer) DeletedArtistSupplement(context.Context, *DeletedArtistSupplementRequest) (*emptypb.Empty, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DeletedArtistSupplement not implemented")
|
|
}
|
|
func (s *UnimplementedArtistInfoArtshowServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
s.proxyImpl = impl
|
|
}
|
|
|
|
func (s *UnimplementedArtistInfoArtshowServer) XXX_GetProxyImpl() protocol.Invoker {
|
|
return s.proxyImpl
|
|
}
|
|
|
|
func (s *UnimplementedArtistInfoArtshowServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
|
return &ArtistInfoArtshow_ServiceDesc
|
|
}
|
|
func (s *UnimplementedArtistInfoArtshowServer) XXX_InterfaceName() string {
|
|
return "artistinfo.ArtistInfoArtshow"
|
|
}
|
|
|
|
func (UnimplementedArtistInfoArtshowServer) mustEmbedUnimplementedArtistInfoArtshowServer() {}
|
|
|
|
// UnsafeArtistInfoArtshowServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to ArtistInfoArtshowServer will
|
|
// result in compilation errors.
|
|
type UnsafeArtistInfoArtshowServer interface {
|
|
mustEmbedUnimplementedArtistInfoArtshowServer()
|
|
}
|
|
|
|
func RegisterArtistInfoArtshowServer(s grpc_go.ServiceRegistrar, srv ArtistInfoArtshowServer) {
|
|
s.RegisterService(&ArtistInfoArtshow_ServiceDesc, srv)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtshowVideoDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtshowVideoDetailRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtshowVideoDetail", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtshowVideoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtshowVideoListRequst)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtshowVideoList", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_CreateArtshowVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ArtshowVideoInfo)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("CreateArtshowVideo", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_BatchCreateArtshowVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BatchCreateArtshowVideoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("BatchCreateArtshowVideo", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_AuditArtshowVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AuditArtshowVideoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("AuditArtshowVideo", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_UpdateArtshowVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateArtshowVideoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("UpdateArtshowVideo", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_DeletedArtshowVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletedArtshowVideoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("DeletedArtshowVideo", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtshowHistroyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtshowHistroyListRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtshowHistroyList", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtistIndexDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtistIndexDetailRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtistIndexDetail", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtistIndexList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtistIndexListRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtistIndexList", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_CreateArtistIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ArtistIndexInfo)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("CreateArtistIndex", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_BatchCreateArtistIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BatchCreateArtistIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("BatchCreateArtistIndex", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_AuditArtistIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AuditArtistIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("AuditArtistIndex", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_UpdateArtistIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateArtistIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("UpdateArtistIndex", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_DeletedArtistIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletedArtistIndexRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("DeletedArtistIndex", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtistSupplementDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtistSupplementDetailRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtistSupplementDetail", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_GetArtistSupplementList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetArtistSupplementListRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("GetArtistSupplementList", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_CreateArtistSupplement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ArtistSupplementInfo)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("CreateArtistSupplement", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_BatchCreateArtistSupplement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BatchCreateArtistSupplementRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("BatchCreateArtistSupplement", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_AuditArtistSupplement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AuditArtistSupplementRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("AuditArtistSupplement", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_UpdateArtistSupplement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateArtistSupplementRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("UpdateArtistSupplement", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _ArtistInfoArtshow_DeletedArtistSupplement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletedArtistSupplementRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
base := srv.(dubbo3.Dubbo3GrpcService)
|
|
args := []interface{}{}
|
|
args = append(args, in)
|
|
md, _ := metadata.FromIncomingContext(ctx)
|
|
invAttachment := make(map[string]interface{}, len(md))
|
|
for k, v := range md {
|
|
invAttachment[k] = v
|
|
}
|
|
invo := invocation.NewRPCInvocation("DeletedArtistSupplement", args, invAttachment)
|
|
if interceptor == nil {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
info := &grpc_go.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string),
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
result := base.XXX_GetProxyImpl().Invoke(ctx, invo)
|
|
return result, result.Error()
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// ArtistInfoArtshow_ServiceDesc is the grpc_go.ServiceDesc for ArtistInfoArtshow service.
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var ArtistInfoArtshow_ServiceDesc = grpc_go.ServiceDesc{
|
|
ServiceName: "artistinfo.ArtistInfoArtshow",
|
|
HandlerType: (*ArtistInfoArtshowServer)(nil),
|
|
Methods: []grpc_go.MethodDesc{
|
|
{
|
|
MethodName: "GetArtshowVideoDetail",
|
|
Handler: _ArtistInfoArtshow_GetArtshowVideoDetail_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtshowVideoList",
|
|
Handler: _ArtistInfoArtshow_GetArtshowVideoList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateArtshowVideo",
|
|
Handler: _ArtistInfoArtshow_CreateArtshowVideo_Handler,
|
|
},
|
|
{
|
|
MethodName: "BatchCreateArtshowVideo",
|
|
Handler: _ArtistInfoArtshow_BatchCreateArtshowVideo_Handler,
|
|
},
|
|
{
|
|
MethodName: "AuditArtshowVideo",
|
|
Handler: _ArtistInfoArtshow_AuditArtshowVideo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateArtshowVideo",
|
|
Handler: _ArtistInfoArtshow_UpdateArtshowVideo_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletedArtshowVideo",
|
|
Handler: _ArtistInfoArtshow_DeletedArtshowVideo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtshowHistroyList",
|
|
Handler: _ArtistInfoArtshow_GetArtshowHistroyList_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtistIndexDetail",
|
|
Handler: _ArtistInfoArtshow_GetArtistIndexDetail_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtistIndexList",
|
|
Handler: _ArtistInfoArtshow_GetArtistIndexList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateArtistIndex",
|
|
Handler: _ArtistInfoArtshow_CreateArtistIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "BatchCreateArtistIndex",
|
|
Handler: _ArtistInfoArtshow_BatchCreateArtistIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "AuditArtistIndex",
|
|
Handler: _ArtistInfoArtshow_AuditArtistIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateArtistIndex",
|
|
Handler: _ArtistInfoArtshow_UpdateArtistIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletedArtistIndex",
|
|
Handler: _ArtistInfoArtshow_DeletedArtistIndex_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtistSupplementDetail",
|
|
Handler: _ArtistInfoArtshow_GetArtistSupplementDetail_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetArtistSupplementList",
|
|
Handler: _ArtistInfoArtshow_GetArtistSupplementList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateArtistSupplement",
|
|
Handler: _ArtistInfoArtshow_CreateArtistSupplement_Handler,
|
|
},
|
|
{
|
|
MethodName: "BatchCreateArtistSupplement",
|
|
Handler: _ArtistInfoArtshow_BatchCreateArtistSupplement_Handler,
|
|
},
|
|
{
|
|
MethodName: "AuditArtistSupplement",
|
|
Handler: _ArtistInfoArtshow_AuditArtistSupplement_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateArtistSupplement",
|
|
Handler: _ArtistInfoArtshow_UpdateArtistSupplement_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletedArtistSupplement",
|
|
Handler: _ArtistInfoArtshow_DeletedArtistSupplement_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc_go.StreamDesc{},
|
|
Metadata: "pb/artistinfoArtshow.proto",
|
|
}
|