1138 lines
48 KiB
Go
1138 lines
48 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/artwork.proto
|
|
|
|
package artwork
|
|
|
|
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"
|
|
)
|
|
|
|
// 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
|
|
|
|
// ArtworkClient is the client API for Artwork 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 ArtworkClient interface {
|
|
Test(ctx context.Context, in *TestReq, opts ...grpc_go.CallOption) (*TestResp, common.ErrorWithAttachment)
|
|
CreateArtworkProfile(ctx context.Context, in *CreArtProRequest, opts ...grpc_go.CallOption) (*CreArtProResponse, common.ErrorWithAttachment)
|
|
UpdateArtworkProfile(ctx context.Context, in *CreArtProRequest, opts ...grpc_go.CallOption) (*CreArtProResponse, common.ErrorWithAttachment)
|
|
UpdateMarketInfo(ctx context.Context, in *UpdateMInfoRequest, opts ...grpc_go.CallOption) (*UpdateMInfoResponse, common.ErrorWithAttachment)
|
|
UpdateExtData(ctx context.Context, in *UpdateExtDataRequest, opts ...grpc_go.CallOption) (*UpdateExtDataResponse, common.ErrorWithAttachment)
|
|
UpdateDigiInfo(ctx context.Context, in *UpdateDigiInfoRequest, opts ...grpc_go.CallOption) (*UpdateDigiInfoResponse, common.ErrorWithAttachment)
|
|
UpdateTags(ctx context.Context, in *UpdateTagsRequest, opts ...grpc_go.CallOption) (*UpdateTagsResponse, common.ErrorWithAttachment)
|
|
UpdateAuthData(ctx context.Context, in *UpdateAuthDataRequest, opts ...grpc_go.CallOption) (*UpdateAuthDataResponse, common.ErrorWithAttachment)
|
|
UpdateAuthImg(ctx context.Context, in *UpdateAuthImgRequest, opts ...grpc_go.CallOption) (*UpdateAuthImgResponse, common.ErrorWithAttachment)
|
|
UpdateStorage(ctx context.Context, in *UpdateStorageRequest, opts ...grpc_go.CallOption) (*UpdateStorageResponse, common.ErrorWithAttachment)
|
|
UploadBatchImg(ctx context.Context, in *UploadBatchImgRequest, opts ...grpc_go.CallOption) (*UploadBatchImgResponse, common.ErrorWithAttachment)
|
|
ArtworkDetail(ctx context.Context, in *ArtworkDetailRequest, opts ...grpc_go.CallOption) (*ArtworkDetailResponse, common.ErrorWithAttachment)
|
|
StorageInfo(ctx context.Context, in *StorageInfoRequest, opts ...grpc_go.CallOption) (*StorageInfoResponse, common.ErrorWithAttachment)
|
|
MarketInfo(ctx context.Context, in *MarketInfoRequest, opts ...grpc_go.CallOption) (*MarketInfoResponse, common.ErrorWithAttachment)
|
|
UpdateArtistInfo(ctx context.Context, in *UpArtistInfoRequest, opts ...grpc_go.CallOption) (*UpArtistInfoResponse, common.ErrorWithAttachment)
|
|
RandomHash(ctx context.Context, in *RandomHashRequest, opts ...grpc_go.CallOption) (*RandomHashResponse, common.ErrorWithAttachment)
|
|
UpdateCopyrightInfo(ctx context.Context, in *UpdateCopyrightInfoRequest, opts ...grpc_go.CallOption) (*UpdateCopyrightInfoResponse, common.ErrorWithAttachment)
|
|
UpdateTransferInfo(ctx context.Context, in *UpdateTransferInfoRequest, opts ...grpc_go.CallOption) (*UpdateTransferInfoResponse, common.ErrorWithAttachment)
|
|
TransferInfoList(ctx context.Context, in *TransferInfoListRequest, opts ...grpc_go.CallOption) (*TransferInfoListResponse, common.ErrorWithAttachment)
|
|
UpdateRulerInfo(ctx context.Context, in *UpdateRulerInfoRequest, opts ...grpc_go.CallOption) (*UpdateRulerInfoResponse, common.ErrorWithAttachment)
|
|
UpdateAwPriceRun(ctx context.Context, in *UpdateAwPriceRunRequest, opts ...grpc_go.CallOption) (*UpdateAwPriceRunResponse, common.ErrorWithAttachment)
|
|
UpdateCrHashByTfnum(ctx context.Context, in *UpdateCrHashByTfnumRequest, opts ...grpc_go.CallOption) (*UpdateCrHashByTfnumResponse, common.ErrorWithAttachment)
|
|
UpdateVerifyData(ctx context.Context, in *UpdateVerifyDataReq, opts ...grpc_go.CallOption) (*UpdateVerifyDataResp, common.ErrorWithAttachment)
|
|
}
|
|
|
|
type artworkClient struct {
|
|
cc *triple.TripleConn
|
|
}
|
|
|
|
type ArtworkClientImpl struct {
|
|
Test func(ctx context.Context, in *TestReq) (*TestResp, error)
|
|
CreateArtworkProfile func(ctx context.Context, in *CreArtProRequest) (*CreArtProResponse, error)
|
|
UpdateArtworkProfile func(ctx context.Context, in *CreArtProRequest) (*CreArtProResponse, error)
|
|
UpdateMarketInfo func(ctx context.Context, in *UpdateMInfoRequest) (*UpdateMInfoResponse, error)
|
|
UpdateExtData func(ctx context.Context, in *UpdateExtDataRequest) (*UpdateExtDataResponse, error)
|
|
UpdateDigiInfo func(ctx context.Context, in *UpdateDigiInfoRequest) (*UpdateDigiInfoResponse, error)
|
|
UpdateTags func(ctx context.Context, in *UpdateTagsRequest) (*UpdateTagsResponse, error)
|
|
UpdateAuthData func(ctx context.Context, in *UpdateAuthDataRequest) (*UpdateAuthDataResponse, error)
|
|
UpdateAuthImg func(ctx context.Context, in *UpdateAuthImgRequest) (*UpdateAuthImgResponse, error)
|
|
UpdateStorage func(ctx context.Context, in *UpdateStorageRequest) (*UpdateStorageResponse, error)
|
|
UploadBatchImg func(ctx context.Context, in *UploadBatchImgRequest) (*UploadBatchImgResponse, error)
|
|
ArtworkDetail func(ctx context.Context, in *ArtworkDetailRequest) (*ArtworkDetailResponse, error)
|
|
StorageInfo func(ctx context.Context, in *StorageInfoRequest) (*StorageInfoResponse, error)
|
|
MarketInfo func(ctx context.Context, in *MarketInfoRequest) (*MarketInfoResponse, error)
|
|
UpdateArtistInfo func(ctx context.Context, in *UpArtistInfoRequest) (*UpArtistInfoResponse, error)
|
|
RandomHash func(ctx context.Context, in *RandomHashRequest) (*RandomHashResponse, error)
|
|
UpdateCopyrightInfo func(ctx context.Context, in *UpdateCopyrightInfoRequest) (*UpdateCopyrightInfoResponse, error)
|
|
UpdateTransferInfo func(ctx context.Context, in *UpdateTransferInfoRequest) (*UpdateTransferInfoResponse, error)
|
|
TransferInfoList func(ctx context.Context, in *TransferInfoListRequest) (*TransferInfoListResponse, error)
|
|
UpdateRulerInfo func(ctx context.Context, in *UpdateRulerInfoRequest) (*UpdateRulerInfoResponse, error)
|
|
UpdateAwPriceRun func(ctx context.Context, in *UpdateAwPriceRunRequest) (*UpdateAwPriceRunResponse, error)
|
|
UpdateCrHashByTfnum func(ctx context.Context, in *UpdateCrHashByTfnumRequest) (*UpdateCrHashByTfnumResponse, error)
|
|
UpdateVerifyData func(ctx context.Context, in *UpdateVerifyDataReq) (*UpdateVerifyDataResp, error)
|
|
}
|
|
|
|
func (c *ArtworkClientImpl) GetDubboStub(cc *triple.TripleConn) ArtworkClient {
|
|
return NewArtworkClient(cc)
|
|
}
|
|
|
|
func (c *ArtworkClientImpl) XXX_InterfaceName() string {
|
|
return "Artwork.Artwork"
|
|
}
|
|
|
|
func NewArtworkClient(cc *triple.TripleConn) ArtworkClient {
|
|
return &artworkClient{cc}
|
|
}
|
|
|
|
func (c *artworkClient) Test(ctx context.Context, in *TestReq, opts ...grpc_go.CallOption) (*TestResp, common.ErrorWithAttachment) {
|
|
out := new(TestResp)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Test", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) CreateArtworkProfile(ctx context.Context, in *CreArtProRequest, opts ...grpc_go.CallOption) (*CreArtProResponse, common.ErrorWithAttachment) {
|
|
out := new(CreArtProResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateArtworkProfile", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateArtworkProfile(ctx context.Context, in *CreArtProRequest, opts ...grpc_go.CallOption) (*CreArtProResponse, common.ErrorWithAttachment) {
|
|
out := new(CreArtProResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtworkProfile", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateMarketInfo(ctx context.Context, in *UpdateMInfoRequest, opts ...grpc_go.CallOption) (*UpdateMInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateMInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateMarketInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateExtData(ctx context.Context, in *UpdateExtDataRequest, opts ...grpc_go.CallOption) (*UpdateExtDataResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateExtDataResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateExtData", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateDigiInfo(ctx context.Context, in *UpdateDigiInfoRequest, opts ...grpc_go.CallOption) (*UpdateDigiInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateDigiInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateDigiInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateTags(ctx context.Context, in *UpdateTagsRequest, opts ...grpc_go.CallOption) (*UpdateTagsResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateTagsResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateTags", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateAuthData(ctx context.Context, in *UpdateAuthDataRequest, opts ...grpc_go.CallOption) (*UpdateAuthDataResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateAuthDataResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateAuthData", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateAuthImg(ctx context.Context, in *UpdateAuthImgRequest, opts ...grpc_go.CallOption) (*UpdateAuthImgResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateAuthImgResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateAuthImg", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateStorage(ctx context.Context, in *UpdateStorageRequest, opts ...grpc_go.CallOption) (*UpdateStorageResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateStorageResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateStorage", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UploadBatchImg(ctx context.Context, in *UploadBatchImgRequest, opts ...grpc_go.CallOption) (*UploadBatchImgResponse, common.ErrorWithAttachment) {
|
|
out := new(UploadBatchImgResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UploadBatchImg", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) ArtworkDetail(ctx context.Context, in *ArtworkDetailRequest, opts ...grpc_go.CallOption) (*ArtworkDetailResponse, common.ErrorWithAttachment) {
|
|
out := new(ArtworkDetailResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ArtworkDetail", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) StorageInfo(ctx context.Context, in *StorageInfoRequest, opts ...grpc_go.CallOption) (*StorageInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(StorageInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/StorageInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) MarketInfo(ctx context.Context, in *MarketInfoRequest, opts ...grpc_go.CallOption) (*MarketInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(MarketInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/MarketInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateArtistInfo(ctx context.Context, in *UpArtistInfoRequest, opts ...grpc_go.CallOption) (*UpArtistInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpArtistInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtistInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) RandomHash(ctx context.Context, in *RandomHashRequest, opts ...grpc_go.CallOption) (*RandomHashResponse, common.ErrorWithAttachment) {
|
|
out := new(RandomHashResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RandomHash", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateCopyrightInfo(ctx context.Context, in *UpdateCopyrightInfoRequest, opts ...grpc_go.CallOption) (*UpdateCopyrightInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateCopyrightInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateCopyrightInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateTransferInfo(ctx context.Context, in *UpdateTransferInfoRequest, opts ...grpc_go.CallOption) (*UpdateTransferInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateTransferInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateTransferInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) TransferInfoList(ctx context.Context, in *TransferInfoListRequest, opts ...grpc_go.CallOption) (*TransferInfoListResponse, common.ErrorWithAttachment) {
|
|
out := new(TransferInfoListResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/TransferInfoList", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateRulerInfo(ctx context.Context, in *UpdateRulerInfoRequest, opts ...grpc_go.CallOption) (*UpdateRulerInfoResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateRulerInfoResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateRulerInfo", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateAwPriceRun(ctx context.Context, in *UpdateAwPriceRunRequest, opts ...grpc_go.CallOption) (*UpdateAwPriceRunResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateAwPriceRunResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateAwPriceRun", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateCrHashByTfnum(ctx context.Context, in *UpdateCrHashByTfnumRequest, opts ...grpc_go.CallOption) (*UpdateCrHashByTfnumResponse, common.ErrorWithAttachment) {
|
|
out := new(UpdateCrHashByTfnumResponse)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateCrHashByTfnum", in, out)
|
|
}
|
|
|
|
func (c *artworkClient) UpdateVerifyData(ctx context.Context, in *UpdateVerifyDataReq, opts ...grpc_go.CallOption) (*UpdateVerifyDataResp, common.ErrorWithAttachment) {
|
|
out := new(UpdateVerifyDataResp)
|
|
interfaceKey := ctx.Value(constant.InterfaceKey).(string)
|
|
return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateVerifyData", in, out)
|
|
}
|
|
|
|
// ArtworkServer is the server API for Artwork service.
|
|
// All implementations must embed UnimplementedArtworkServer
|
|
// for forward compatibility
|
|
type ArtworkServer interface {
|
|
Test(context.Context, *TestReq) (*TestResp, error)
|
|
CreateArtworkProfile(context.Context, *CreArtProRequest) (*CreArtProResponse, error)
|
|
UpdateArtworkProfile(context.Context, *CreArtProRequest) (*CreArtProResponse, error)
|
|
UpdateMarketInfo(context.Context, *UpdateMInfoRequest) (*UpdateMInfoResponse, error)
|
|
UpdateExtData(context.Context, *UpdateExtDataRequest) (*UpdateExtDataResponse, error)
|
|
UpdateDigiInfo(context.Context, *UpdateDigiInfoRequest) (*UpdateDigiInfoResponse, error)
|
|
UpdateTags(context.Context, *UpdateTagsRequest) (*UpdateTagsResponse, error)
|
|
UpdateAuthData(context.Context, *UpdateAuthDataRequest) (*UpdateAuthDataResponse, error)
|
|
UpdateAuthImg(context.Context, *UpdateAuthImgRequest) (*UpdateAuthImgResponse, error)
|
|
UpdateStorage(context.Context, *UpdateStorageRequest) (*UpdateStorageResponse, error)
|
|
UploadBatchImg(context.Context, *UploadBatchImgRequest) (*UploadBatchImgResponse, error)
|
|
ArtworkDetail(context.Context, *ArtworkDetailRequest) (*ArtworkDetailResponse, error)
|
|
StorageInfo(context.Context, *StorageInfoRequest) (*StorageInfoResponse, error)
|
|
MarketInfo(context.Context, *MarketInfoRequest) (*MarketInfoResponse, error)
|
|
UpdateArtistInfo(context.Context, *UpArtistInfoRequest) (*UpArtistInfoResponse, error)
|
|
RandomHash(context.Context, *RandomHashRequest) (*RandomHashResponse, error)
|
|
UpdateCopyrightInfo(context.Context, *UpdateCopyrightInfoRequest) (*UpdateCopyrightInfoResponse, error)
|
|
UpdateTransferInfo(context.Context, *UpdateTransferInfoRequest) (*UpdateTransferInfoResponse, error)
|
|
TransferInfoList(context.Context, *TransferInfoListRequest) (*TransferInfoListResponse, error)
|
|
UpdateRulerInfo(context.Context, *UpdateRulerInfoRequest) (*UpdateRulerInfoResponse, error)
|
|
UpdateAwPriceRun(context.Context, *UpdateAwPriceRunRequest) (*UpdateAwPriceRunResponse, error)
|
|
UpdateCrHashByTfnum(context.Context, *UpdateCrHashByTfnumRequest) (*UpdateCrHashByTfnumResponse, error)
|
|
UpdateVerifyData(context.Context, *UpdateVerifyDataReq) (*UpdateVerifyDataResp, error)
|
|
mustEmbedUnimplementedArtworkServer()
|
|
}
|
|
|
|
// UnimplementedArtworkServer must be embedded to have forward compatible implementations.
|
|
type UnimplementedArtworkServer struct {
|
|
proxyImpl protocol.Invoker
|
|
}
|
|
|
|
func (UnimplementedArtworkServer) Test(context.Context, *TestReq) (*TestResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Test not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) CreateArtworkProfile(context.Context, *CreArtProRequest) (*CreArtProResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method CreateArtworkProfile not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateArtworkProfile(context.Context, *CreArtProRequest) (*CreArtProResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateArtworkProfile not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateMarketInfo(context.Context, *UpdateMInfoRequest) (*UpdateMInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateMarketInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateExtData(context.Context, *UpdateExtDataRequest) (*UpdateExtDataResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateExtData not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateDigiInfo(context.Context, *UpdateDigiInfoRequest) (*UpdateDigiInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateDigiInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateTags(context.Context, *UpdateTagsRequest) (*UpdateTagsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateTags not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateAuthData(context.Context, *UpdateAuthDataRequest) (*UpdateAuthDataResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateAuthData not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateAuthImg(context.Context, *UpdateAuthImgRequest) (*UpdateAuthImgResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateAuthImg not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateStorage(context.Context, *UpdateStorageRequest) (*UpdateStorageResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateStorage not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UploadBatchImg(context.Context, *UploadBatchImgRequest) (*UploadBatchImgResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UploadBatchImg not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) ArtworkDetail(context.Context, *ArtworkDetailRequest) (*ArtworkDetailResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ArtworkDetail not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) StorageInfo(context.Context, *StorageInfoRequest) (*StorageInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method StorageInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) MarketInfo(context.Context, *MarketInfoRequest) (*MarketInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method MarketInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateArtistInfo(context.Context, *UpArtistInfoRequest) (*UpArtistInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateArtistInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) RandomHash(context.Context, *RandomHashRequest) (*RandomHashResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RandomHash not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateCopyrightInfo(context.Context, *UpdateCopyrightInfoRequest) (*UpdateCopyrightInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateCopyrightInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateTransferInfo(context.Context, *UpdateTransferInfoRequest) (*UpdateTransferInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateTransferInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) TransferInfoList(context.Context, *TransferInfoListRequest) (*TransferInfoListResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method TransferInfoList not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateRulerInfo(context.Context, *UpdateRulerInfoRequest) (*UpdateRulerInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateRulerInfo not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateAwPriceRun(context.Context, *UpdateAwPriceRunRequest) (*UpdateAwPriceRunResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateAwPriceRun not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateCrHashByTfnum(context.Context, *UpdateCrHashByTfnumRequest) (*UpdateCrHashByTfnumResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateCrHashByTfnum not implemented")
|
|
}
|
|
func (UnimplementedArtworkServer) UpdateVerifyData(context.Context, *UpdateVerifyDataReq) (*UpdateVerifyDataResp, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method UpdateVerifyData not implemented")
|
|
}
|
|
func (s *UnimplementedArtworkServer) XXX_SetProxyImpl(impl protocol.Invoker) {
|
|
s.proxyImpl = impl
|
|
}
|
|
|
|
func (s *UnimplementedArtworkServer) XXX_GetProxyImpl() protocol.Invoker {
|
|
return s.proxyImpl
|
|
}
|
|
|
|
func (s *UnimplementedArtworkServer) XXX_ServiceDesc() *grpc_go.ServiceDesc {
|
|
return &Artwork_ServiceDesc
|
|
}
|
|
func (s *UnimplementedArtworkServer) XXX_InterfaceName() string {
|
|
return "Artwork.Artwork"
|
|
}
|
|
|
|
func (UnimplementedArtworkServer) mustEmbedUnimplementedArtworkServer() {}
|
|
|
|
// UnsafeArtworkServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to ArtworkServer will
|
|
// result in compilation errors.
|
|
type UnsafeArtworkServer interface {
|
|
mustEmbedUnimplementedArtworkServer()
|
|
}
|
|
|
|
func RegisterArtworkServer(s grpc_go.ServiceRegistrar, srv ArtworkServer) {
|
|
s.RegisterService(&Artwork_ServiceDesc, srv)
|
|
}
|
|
|
|
func _Artwork_Test_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(TestReq)
|
|
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("Test", 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 _Artwork_CreateArtworkProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreArtProRequest)
|
|
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("CreateArtworkProfile", 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 _Artwork_UpdateArtworkProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreArtProRequest)
|
|
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("UpdateArtworkProfile", 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 _Artwork_UpdateMarketInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateMInfoRequest)
|
|
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("UpdateMarketInfo", 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 _Artwork_UpdateExtData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateExtDataRequest)
|
|
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("UpdateExtData", 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 _Artwork_UpdateDigiInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateDigiInfoRequest)
|
|
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("UpdateDigiInfo", 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 _Artwork_UpdateTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateTagsRequest)
|
|
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("UpdateTags", 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 _Artwork_UpdateAuthData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateAuthDataRequest)
|
|
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("UpdateAuthData", 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 _Artwork_UpdateAuthImg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateAuthImgRequest)
|
|
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("UpdateAuthImg", 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 _Artwork_UpdateStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateStorageRequest)
|
|
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("UpdateStorage", 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 _Artwork_UploadBatchImg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadBatchImgRequest)
|
|
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("UploadBatchImg", 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 _Artwork_ArtworkDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ArtworkDetailRequest)
|
|
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("ArtworkDetail", 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 _Artwork_StorageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StorageInfoRequest)
|
|
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("StorageInfo", 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 _Artwork_MarketInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(MarketInfoRequest)
|
|
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("MarketInfo", 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 _Artwork_UpdateArtistInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpArtistInfoRequest)
|
|
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("UpdateArtistInfo", 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 _Artwork_RandomHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RandomHashRequest)
|
|
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("RandomHash", 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 _Artwork_UpdateCopyrightInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateCopyrightInfoRequest)
|
|
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("UpdateCopyrightInfo", 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 _Artwork_UpdateTransferInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateTransferInfoRequest)
|
|
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("UpdateTransferInfo", 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 _Artwork_TransferInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(TransferInfoListRequest)
|
|
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("TransferInfoList", 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 _Artwork_UpdateRulerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateRulerInfoRequest)
|
|
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("UpdateRulerInfo", 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 _Artwork_UpdateAwPriceRun_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateAwPriceRunRequest)
|
|
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("UpdateAwPriceRun", 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 _Artwork_UpdateCrHashByTfnum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateCrHashByTfnumRequest)
|
|
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("UpdateCrHashByTfnum", 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 _Artwork_UpdateVerifyData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateVerifyDataReq)
|
|
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("UpdateVerifyData", 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)
|
|
}
|
|
|
|
// Artwork_ServiceDesc is the grpc_go.ServiceDesc for Artwork service.
|
|
// It's only intended for direct use with grpc_go.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var Artwork_ServiceDesc = grpc_go.ServiceDesc{
|
|
ServiceName: "Artwork.Artwork",
|
|
HandlerType: (*ArtworkServer)(nil),
|
|
Methods: []grpc_go.MethodDesc{
|
|
{
|
|
MethodName: "Test",
|
|
Handler: _Artwork_Test_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateArtworkProfile",
|
|
Handler: _Artwork_CreateArtworkProfile_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateArtworkProfile",
|
|
Handler: _Artwork_UpdateArtworkProfile_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateMarketInfo",
|
|
Handler: _Artwork_UpdateMarketInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateExtData",
|
|
Handler: _Artwork_UpdateExtData_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateDigiInfo",
|
|
Handler: _Artwork_UpdateDigiInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateTags",
|
|
Handler: _Artwork_UpdateTags_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateAuthData",
|
|
Handler: _Artwork_UpdateAuthData_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateAuthImg",
|
|
Handler: _Artwork_UpdateAuthImg_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateStorage",
|
|
Handler: _Artwork_UpdateStorage_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadBatchImg",
|
|
Handler: _Artwork_UploadBatchImg_Handler,
|
|
},
|
|
{
|
|
MethodName: "ArtworkDetail",
|
|
Handler: _Artwork_ArtworkDetail_Handler,
|
|
},
|
|
{
|
|
MethodName: "StorageInfo",
|
|
Handler: _Artwork_StorageInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "MarketInfo",
|
|
Handler: _Artwork_MarketInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateArtistInfo",
|
|
Handler: _Artwork_UpdateArtistInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "RandomHash",
|
|
Handler: _Artwork_RandomHash_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateCopyrightInfo",
|
|
Handler: _Artwork_UpdateCopyrightInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateTransferInfo",
|
|
Handler: _Artwork_UpdateTransferInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "TransferInfoList",
|
|
Handler: _Artwork_TransferInfoList_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateRulerInfo",
|
|
Handler: _Artwork_UpdateRulerInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateAwPriceRun",
|
|
Handler: _Artwork_UpdateAwPriceRun_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateCrHashByTfnum",
|
|
Handler: _Artwork_UpdateCrHashByTfnum_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateVerifyData",
|
|
Handler: _Artwork_UpdateVerifyData_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc_go.StreamDesc{},
|
|
Metadata: "pb/artwork.proto",
|
|
}
|