2022-09-21 06:30:52 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
2022-10-27 08:06:36 +00:00
// - protoc v3.10.1
2022-09-22 06:23:56 +00:00
// source: pb/artshow.proto
2022-09-21 06:30:52 +00:00
package artShow
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
// ArtShowClient is the client API for ArtShow 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 ArtShowClient interface {
CreateShow ( ctx context . Context , in * SaveShowReq , opts ... grpc_go . CallOption ) ( * SaveShowRes , common . ErrorWithAttachment )
UpdateShow ( ctx context . Context , in * SaveShowReq , opts ... grpc_go . CallOption ) ( * SaveShowRes , common . ErrorWithAttachment )
DelShow ( ctx context . Context , in * DelShowReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
ShowList ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment )
2023-01-31 09:14:18 +00:00
ShowListWithRel ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment )
2022-11-30 03:01:14 +00:00
ShowListForArtwork ( ctx context . Context , in * ShowListForArtworkReq , opts ... grpc_go . CallOption ) ( * ShowListForArtworkRes , common . ErrorWithAttachment )
2023-02-10 08:39:54 +00:00
ShowArtworkInfo ( ctx context . Context , in * ArtworkDetailReq , opts ... grpc_go . CallOption ) ( * ShowArtworkDetailRes , common . ErrorWithAttachment )
2022-10-27 08:06:36 +00:00
ShowDetail ( ctx context . Context , in * ShowDetailReq , opts ... grpc_go . CallOption ) ( * ShowDetailRes , common . ErrorWithAttachment )
2022-09-21 06:30:52 +00:00
ShowStatisticalInfo ( ctx context . Context , in * ShowStatisticalInfoReq , opts ... grpc_go . CallOption ) ( * ShowStatisticalInfoRes , common . ErrorWithAttachment )
ArtworkPrice ( ctx context . Context , in * ArtworkPriceReq , opts ... grpc_go . CallOption ) ( * ArtworkPriceRes , common . ErrorWithAttachment )
CreateApply ( ctx context . Context , in * SaveApplyReq , opts ... grpc_go . CallOption ) ( * SaveApplyRes , common . ErrorWithAttachment )
UpdateApply ( ctx context . Context , in * SaveApplyReq , opts ... grpc_go . CallOption ) ( * SaveApplyRes , common . ErrorWithAttachment )
DelApply ( ctx context . Context , in * DelApplyReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
ShowListWithApply ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment )
UpdateApplyStatus ( ctx context . Context , in * UpdateApplyStatusReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
ApplyList ( ctx context . Context , in * ApplyListReq , opts ... grpc_go . CallOption ) ( * ApplyListRes , common . ErrorWithAttachment )
ApplyDetail ( ctx context . Context , in * ApplyShowReq , opts ... grpc_go . CallOption ) ( * ApplyShowRes , common . ErrorWithAttachment )
2023-01-31 09:14:18 +00:00
ArtworkPriceList ( ctx context . Context , in * ShowDetailReq , opts ... grpc_go . CallOption ) ( * ArtworkPriceListRes , common . ErrorWithAttachment )
2023-03-30 00:58:03 +00:00
CancelShow ( ctx context . Context , in * CancelShowReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
UpdateArtworkReward ( ctx context . Context , in * UpdateArtworkRewardReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
UpdateArtworkSaleAddress ( ctx context . Context , in * UpdateArtworkSaleAddressReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment )
QueryShowStatus ( ctx context . Context , in * ShowStatusReq , opts ... grpc_go . CallOption ) ( * ShowStatusRes , common . ErrorWithAttachment )
QuerySaleAddress ( ctx context . Context , in * SaleAddressReq , opts ... grpc_go . CallOption ) ( * SaleAddressRes , common . ErrorWithAttachment )
2022-09-21 06:30:52 +00:00
}
type artShowClient struct {
cc * triple . TripleConn
}
type ArtShowClientImpl struct {
2023-03-30 00:58:03 +00:00
CreateShow func ( ctx context . Context , in * SaveShowReq ) ( * SaveShowRes , error )
UpdateShow func ( ctx context . Context , in * SaveShowReq ) ( * SaveShowRes , error )
DelShow func ( ctx context . Context , in * DelShowReq ) ( * CommonRes , error )
ShowList func ( ctx context . Context , in * ShowListReq ) ( * ShowListRes , error )
ShowListWithRel func ( ctx context . Context , in * ShowListReq ) ( * ShowListRes , error )
ShowListForArtwork func ( ctx context . Context , in * ShowListForArtworkReq ) ( * ShowListForArtworkRes , error )
ShowArtworkInfo func ( ctx context . Context , in * ArtworkDetailReq ) ( * ShowArtworkDetailRes , error )
ShowDetail func ( ctx context . Context , in * ShowDetailReq ) ( * ShowDetailRes , error )
ShowStatisticalInfo func ( ctx context . Context , in * ShowStatisticalInfoReq ) ( * ShowStatisticalInfoRes , error )
ArtworkPrice func ( ctx context . Context , in * ArtworkPriceReq ) ( * ArtworkPriceRes , error )
CreateApply func ( ctx context . Context , in * SaveApplyReq ) ( * SaveApplyRes , error )
UpdateApply func ( ctx context . Context , in * SaveApplyReq ) ( * SaveApplyRes , error )
DelApply func ( ctx context . Context , in * DelApplyReq ) ( * CommonRes , error )
ShowListWithApply func ( ctx context . Context , in * ShowListReq ) ( * ShowListRes , error )
UpdateApplyStatus func ( ctx context . Context , in * UpdateApplyStatusReq ) ( * CommonRes , error )
ApplyList func ( ctx context . Context , in * ApplyListReq ) ( * ApplyListRes , error )
ApplyDetail func ( ctx context . Context , in * ApplyShowReq ) ( * ApplyShowRes , error )
ArtworkPriceList func ( ctx context . Context , in * ShowDetailReq ) ( * ArtworkPriceListRes , error )
CancelShow func ( ctx context . Context , in * CancelShowReq ) ( * CommonRes , error )
UpdateArtworkReward func ( ctx context . Context , in * UpdateArtworkRewardReq ) ( * CommonRes , error )
UpdateArtworkSaleAddress func ( ctx context . Context , in * UpdateArtworkSaleAddressReq ) ( * CommonRes , error )
QueryShowStatus func ( ctx context . Context , in * ShowStatusReq ) ( * ShowStatusRes , error )
QuerySaleAddress func ( ctx context . Context , in * SaleAddressReq ) ( * SaleAddressRes , error )
2022-09-21 06:30:52 +00:00
}
func ( c * ArtShowClientImpl ) GetDubboStub ( cc * triple . TripleConn ) ArtShowClient {
return NewArtShowClient ( cc )
}
func ( c * ArtShowClientImpl ) XXX_InterfaceName ( ) string {
return "ArtShow.ArtShow"
}
func NewArtShowClient ( cc * triple . TripleConn ) ArtShowClient {
return & artShowClient { cc }
}
func ( c * artShowClient ) CreateShow ( ctx context . Context , in * SaveShowReq , opts ... grpc_go . CallOption ) ( * SaveShowRes , common . ErrorWithAttachment ) {
out := new ( SaveShowRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateShow" , in , out )
}
func ( c * artShowClient ) UpdateShow ( ctx context . Context , in * SaveShowReq , opts ... grpc_go . CallOption ) ( * SaveShowRes , common . ErrorWithAttachment ) {
out := new ( SaveShowRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateShow" , in , out )
}
func ( c * artShowClient ) DelShow ( ctx context . Context , in * DelShowReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/DelShow" , in , out )
}
func ( c * artShowClient ) ShowList ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment ) {
out := new ( ShowListRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowList" , in , out )
}
2023-01-31 09:14:18 +00:00
func ( c * artShowClient ) ShowListWithRel ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment ) {
out := new ( ShowListRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowListWithRel" , in , out )
}
2022-11-30 03:01:14 +00:00
func ( c * artShowClient ) ShowListForArtwork ( ctx context . Context , in * ShowListForArtworkReq , opts ... grpc_go . CallOption ) ( * ShowListForArtworkRes , common . ErrorWithAttachment ) {
out := new ( ShowListForArtworkRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowListForArtwork" , in , out )
}
2023-02-10 08:39:54 +00:00
func ( c * artShowClient ) ShowArtworkInfo ( ctx context . Context , in * ArtworkDetailReq , opts ... grpc_go . CallOption ) ( * ShowArtworkDetailRes , common . ErrorWithAttachment ) {
2022-09-21 06:30:52 +00:00
out := new ( ShowArtworkDetailRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
2022-10-27 08:06:36 +00:00
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowArtworkInfo" , in , out )
}
func ( c * artShowClient ) ShowDetail ( ctx context . Context , in * ShowDetailReq , opts ... grpc_go . CallOption ) ( * ShowDetailRes , common . ErrorWithAttachment ) {
out := new ( ShowDetailRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowDetail" , in , out )
2022-09-21 06:30:52 +00:00
}
func ( c * artShowClient ) ShowStatisticalInfo ( ctx context . Context , in * ShowStatisticalInfoReq , opts ... grpc_go . CallOption ) ( * ShowStatisticalInfoRes , common . ErrorWithAttachment ) {
out := new ( ShowStatisticalInfoRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowStatisticalInfo" , in , out )
}
func ( c * artShowClient ) ArtworkPrice ( ctx context . Context , in * ArtworkPriceReq , opts ... grpc_go . CallOption ) ( * ArtworkPriceRes , common . ErrorWithAttachment ) {
out := new ( ArtworkPriceRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ArtworkPrice" , in , out )
}
func ( c * artShowClient ) CreateApply ( ctx context . Context , in * SaveApplyReq , opts ... grpc_go . CallOption ) ( * SaveApplyRes , common . ErrorWithAttachment ) {
out := new ( SaveApplyRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateApply" , in , out )
}
func ( c * artShowClient ) UpdateApply ( ctx context . Context , in * SaveApplyReq , opts ... grpc_go . CallOption ) ( * SaveApplyRes , common . ErrorWithAttachment ) {
out := new ( SaveApplyRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateApply" , in , out )
}
func ( c * artShowClient ) DelApply ( ctx context . Context , in * DelApplyReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/DelApply" , in , out )
}
func ( c * artShowClient ) ShowListWithApply ( ctx context . Context , in * ShowListReq , opts ... grpc_go . CallOption ) ( * ShowListRes , common . ErrorWithAttachment ) {
out := new ( ShowListRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ShowListWithApply" , in , out )
}
func ( c * artShowClient ) UpdateApplyStatus ( ctx context . Context , in * UpdateApplyStatusReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateApplyStatus" , in , out )
}
func ( c * artShowClient ) ApplyList ( ctx context . Context , in * ApplyListReq , opts ... grpc_go . CallOption ) ( * ApplyListRes , common . ErrorWithAttachment ) {
out := new ( ApplyListRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ApplyList" , in , out )
}
func ( c * artShowClient ) ApplyDetail ( ctx context . Context , in * ApplyShowReq , opts ... grpc_go . CallOption ) ( * ApplyShowRes , common . ErrorWithAttachment ) {
out := new ( ApplyShowRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ApplyDetail" , in , out )
}
2023-01-31 09:14:18 +00:00
func ( c * artShowClient ) ArtworkPriceList ( ctx context . Context , in * ShowDetailReq , opts ... grpc_go . CallOption ) ( * ArtworkPriceListRes , common . ErrorWithAttachment ) {
out := new ( ArtworkPriceListRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ArtworkPriceList" , in , out )
}
2023-03-30 00:58:03 +00:00
func ( c * artShowClient ) CancelShow ( ctx context . Context , in * CancelShowReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CancelShow" , in , out )
}
func ( c * artShowClient ) UpdateArtworkReward ( ctx context . Context , in * UpdateArtworkRewardReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateArtworkReward" , in , out )
}
func ( c * artShowClient ) UpdateArtworkSaleAddress ( ctx context . Context , in * UpdateArtworkSaleAddressReq , opts ... grpc_go . CallOption ) ( * CommonRes , common . ErrorWithAttachment ) {
out := new ( CommonRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateArtworkSaleAddress" , in , out )
}
func ( c * artShowClient ) QueryShowStatus ( ctx context . Context , in * ShowStatusReq , opts ... grpc_go . CallOption ) ( * ShowStatusRes , common . ErrorWithAttachment ) {
out := new ( ShowStatusRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/QueryShowStatus" , in , out )
}
func ( c * artShowClient ) QuerySaleAddress ( ctx context . Context , in * SaleAddressReq , opts ... grpc_go . CallOption ) ( * SaleAddressRes , common . ErrorWithAttachment ) {
out := new ( SaleAddressRes )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/QuerySaleAddress" , in , out )
}
2022-09-21 06:30:52 +00:00
// ArtShowServer is the server API for ArtShow service.
// All implementations must embed UnimplementedArtShowServer
// for forward compatibility
type ArtShowServer interface {
CreateShow ( context . Context , * SaveShowReq ) ( * SaveShowRes , error )
UpdateShow ( context . Context , * SaveShowReq ) ( * SaveShowRes , error )
DelShow ( context . Context , * DelShowReq ) ( * CommonRes , error )
ShowList ( context . Context , * ShowListReq ) ( * ShowListRes , error )
2023-01-31 09:14:18 +00:00
ShowListWithRel ( context . Context , * ShowListReq ) ( * ShowListRes , error )
2022-11-30 03:01:14 +00:00
ShowListForArtwork ( context . Context , * ShowListForArtworkReq ) ( * ShowListForArtworkRes , error )
2023-02-10 08:39:54 +00:00
ShowArtworkInfo ( context . Context , * ArtworkDetailReq ) ( * ShowArtworkDetailRes , error )
2022-10-27 08:06:36 +00:00
ShowDetail ( context . Context , * ShowDetailReq ) ( * ShowDetailRes , error )
2022-09-21 06:30:52 +00:00
ShowStatisticalInfo ( context . Context , * ShowStatisticalInfoReq ) ( * ShowStatisticalInfoRes , error )
ArtworkPrice ( context . Context , * ArtworkPriceReq ) ( * ArtworkPriceRes , error )
CreateApply ( context . Context , * SaveApplyReq ) ( * SaveApplyRes , error )
UpdateApply ( context . Context , * SaveApplyReq ) ( * SaveApplyRes , error )
DelApply ( context . Context , * DelApplyReq ) ( * CommonRes , error )
ShowListWithApply ( context . Context , * ShowListReq ) ( * ShowListRes , error )
UpdateApplyStatus ( context . Context , * UpdateApplyStatusReq ) ( * CommonRes , error )
ApplyList ( context . Context , * ApplyListReq ) ( * ApplyListRes , error )
ApplyDetail ( context . Context , * ApplyShowReq ) ( * ApplyShowRes , error )
2023-01-31 09:14:18 +00:00
ArtworkPriceList ( context . Context , * ShowDetailReq ) ( * ArtworkPriceListRes , error )
2023-03-30 00:58:03 +00:00
CancelShow ( context . Context , * CancelShowReq ) ( * CommonRes , error )
UpdateArtworkReward ( context . Context , * UpdateArtworkRewardReq ) ( * CommonRes , error )
UpdateArtworkSaleAddress ( context . Context , * UpdateArtworkSaleAddressReq ) ( * CommonRes , error )
QueryShowStatus ( context . Context , * ShowStatusReq ) ( * ShowStatusRes , error )
QuerySaleAddress ( context . Context , * SaleAddressReq ) ( * SaleAddressRes , error )
2022-09-21 06:30:52 +00:00
mustEmbedUnimplementedArtShowServer ( )
}
// UnimplementedArtShowServer must be embedded to have forward compatible implementations.
type UnimplementedArtShowServer struct {
proxyImpl protocol . Invoker
}
func ( UnimplementedArtShowServer ) CreateShow ( context . Context , * SaveShowReq ) ( * SaveShowRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CreateShow not implemented" )
}
func ( UnimplementedArtShowServer ) UpdateShow ( context . Context , * SaveShowReq ) ( * SaveShowRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateShow not implemented" )
}
func ( UnimplementedArtShowServer ) DelShow ( context . Context , * DelShowReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DelShow not implemented" )
}
func ( UnimplementedArtShowServer ) ShowList ( context . Context , * ShowListReq ) ( * ShowListRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowList not implemented" )
}
2023-01-31 09:14:18 +00:00
func ( UnimplementedArtShowServer ) ShowListWithRel ( context . Context , * ShowListReq ) ( * ShowListRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowListWithRel not implemented" )
}
2022-11-30 03:01:14 +00:00
func ( UnimplementedArtShowServer ) ShowListForArtwork ( context . Context , * ShowListForArtworkReq ) ( * ShowListForArtworkRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowListForArtwork not implemented" )
}
2023-02-10 08:39:54 +00:00
func ( UnimplementedArtShowServer ) ShowArtworkInfo ( context . Context , * ArtworkDetailReq ) ( * ShowArtworkDetailRes , error ) {
2022-10-27 08:06:36 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method ShowArtworkInfo not implemented" )
}
func ( UnimplementedArtShowServer ) ShowDetail ( context . Context , * ShowDetailReq ) ( * ShowDetailRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowDetail not implemented" )
2022-09-21 06:30:52 +00:00
}
func ( UnimplementedArtShowServer ) ShowStatisticalInfo ( context . Context , * ShowStatisticalInfoReq ) ( * ShowStatisticalInfoRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowStatisticalInfo not implemented" )
}
func ( UnimplementedArtShowServer ) ArtworkPrice ( context . Context , * ArtworkPriceReq ) ( * ArtworkPriceRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ArtworkPrice not implemented" )
}
func ( UnimplementedArtShowServer ) CreateApply ( context . Context , * SaveApplyReq ) ( * SaveApplyRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CreateApply not implemented" )
}
func ( UnimplementedArtShowServer ) UpdateApply ( context . Context , * SaveApplyReq ) ( * SaveApplyRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateApply not implemented" )
}
func ( UnimplementedArtShowServer ) DelApply ( context . Context , * DelApplyReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DelApply not implemented" )
}
func ( UnimplementedArtShowServer ) ShowListWithApply ( context . Context , * ShowListReq ) ( * ShowListRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ShowListWithApply not implemented" )
}
func ( UnimplementedArtShowServer ) UpdateApplyStatus ( context . Context , * UpdateApplyStatusReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateApplyStatus not implemented" )
}
func ( UnimplementedArtShowServer ) ApplyList ( context . Context , * ApplyListReq ) ( * ApplyListRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ApplyList not implemented" )
}
func ( UnimplementedArtShowServer ) ApplyDetail ( context . Context , * ApplyShowReq ) ( * ApplyShowRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ApplyDetail not implemented" )
}
2023-01-31 09:14:18 +00:00
func ( UnimplementedArtShowServer ) ArtworkPriceList ( context . Context , * ShowDetailReq ) ( * ArtworkPriceListRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ArtworkPriceList not implemented" )
}
2023-03-30 00:58:03 +00:00
func ( UnimplementedArtShowServer ) CancelShow ( context . Context , * CancelShowReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CancelShow not implemented" )
}
func ( UnimplementedArtShowServer ) UpdateArtworkReward ( context . Context , * UpdateArtworkRewardReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateArtworkReward not implemented" )
}
func ( UnimplementedArtShowServer ) UpdateArtworkSaleAddress ( context . Context , * UpdateArtworkSaleAddressReq ) ( * CommonRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateArtworkSaleAddress not implemented" )
}
func ( UnimplementedArtShowServer ) QueryShowStatus ( context . Context , * ShowStatusReq ) ( * ShowStatusRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method QueryShowStatus not implemented" )
}
func ( UnimplementedArtShowServer ) QuerySaleAddress ( context . Context , * SaleAddressReq ) ( * SaleAddressRes , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method QuerySaleAddress not implemented" )
}
2022-09-21 06:30:52 +00:00
func ( s * UnimplementedArtShowServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
s . proxyImpl = impl
}
func ( s * UnimplementedArtShowServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
return s . proxyImpl
}
func ( s * UnimplementedArtShowServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & ArtShow_ServiceDesc
}
func ( s * UnimplementedArtShowServer ) XXX_InterfaceName ( ) string {
return "ArtShow.ArtShow"
}
func ( UnimplementedArtShowServer ) mustEmbedUnimplementedArtShowServer ( ) { }
// UnsafeArtShowServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ArtShowServer will
// result in compilation errors.
type UnsafeArtShowServer interface {
mustEmbedUnimplementedArtShowServer ( )
}
func RegisterArtShowServer ( s grpc_go . ServiceRegistrar , srv ArtShowServer ) {
s . RegisterService ( & ArtShow_ServiceDesc , srv )
}
func _ArtShow_CreateShow_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SaveShowReq )
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 ( "CreateShow" , 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 _ArtShow_UpdateShow_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SaveShowReq )
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 ( "UpdateShow" , 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 _ArtShow_DelShow_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( DelShowReq )
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 ( "DelShow" , 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 _ArtShow_ShowList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowListReq )
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 ( "ShowList" , 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 )
}
2023-01-31 09:14:18 +00:00
func _ArtShow_ShowListWithRel_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowListReq )
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 ( "ShowListWithRel" , 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 )
}
2022-11-30 03:01:14 +00:00
func _ArtShow_ShowListForArtwork_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowListForArtworkReq )
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 ( "ShowListForArtwork" , 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 )
}
2022-10-27 08:06:36 +00:00
func _ArtShow_ShowArtworkInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-10 08:39:54 +00:00
in := new ( ArtworkDetailReq )
2022-09-21 06:30:52 +00:00
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
}
2022-10-27 08:06:36 +00:00
invo := invocation . NewRPCInvocation ( "ShowArtworkInfo" , 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 _ArtShow_ShowDetail_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowDetailReq )
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 ( "ShowDetail" , args , invAttachment )
2022-09-21 06:30:52 +00:00
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 _ArtShow_ShowStatisticalInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowStatisticalInfoReq )
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 ( "ShowStatisticalInfo" , 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 _ArtShow_ArtworkPrice_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ArtworkPriceReq )
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 ( "ArtworkPrice" , 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 _ArtShow_CreateApply_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SaveApplyReq )
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 ( "CreateApply" , 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 _ArtShow_UpdateApply_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SaveApplyReq )
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 ( "UpdateApply" , 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 _ArtShow_DelApply_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( DelApplyReq )
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 ( "DelApply" , 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 _ArtShow_ShowListWithApply_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowListReq )
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 ( "ShowListWithApply" , 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 _ArtShow_UpdateApplyStatus_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UpdateApplyStatusReq )
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 ( "UpdateApplyStatus" , 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 _ArtShow_ApplyList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ApplyListReq )
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 ( "ApplyList" , 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 _ArtShow_ApplyDetail_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ApplyShowReq )
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 ( "ApplyDetail" , 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 )
}
2023-01-31 09:14:18 +00:00
func _ArtShow_ArtworkPriceList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowDetailReq )
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 ( "ArtworkPriceList" , 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 )
}
2023-03-30 00:58:03 +00:00
func _ArtShow_CancelShow_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CancelShowReq )
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 ( "CancelShow" , 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 _ArtShow_UpdateArtworkReward_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UpdateArtworkRewardReq )
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 ( "UpdateArtworkReward" , 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 _ArtShow_UpdateArtworkSaleAddress_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UpdateArtworkSaleAddressReq )
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 ( "UpdateArtworkSaleAddress" , 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 _ArtShow_QueryShowStatus_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ShowStatusReq )
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 ( "QueryShowStatus" , 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 _ArtShow_QuerySaleAddress_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SaleAddressReq )
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 ( "QuerySaleAddress" , 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 )
}
2022-09-21 06:30:52 +00:00
// ArtShow_ServiceDesc is the grpc_go.ServiceDesc for ArtShow service.
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
var ArtShow_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "ArtShow.ArtShow" ,
HandlerType : ( * ArtShowServer ) ( nil ) ,
Methods : [ ] grpc_go . MethodDesc {
{
MethodName : "CreateShow" ,
Handler : _ArtShow_CreateShow_Handler ,
} ,
{
MethodName : "UpdateShow" ,
Handler : _ArtShow_UpdateShow_Handler ,
} ,
{
MethodName : "DelShow" ,
Handler : _ArtShow_DelShow_Handler ,
} ,
{
MethodName : "ShowList" ,
Handler : _ArtShow_ShowList_Handler ,
} ,
2023-01-31 09:14:18 +00:00
{
MethodName : "ShowListWithRel" ,
Handler : _ArtShow_ShowListWithRel_Handler ,
} ,
2022-11-30 03:01:14 +00:00
{
MethodName : "ShowListForArtwork" ,
Handler : _ArtShow_ShowListForArtwork_Handler ,
} ,
2022-09-21 06:30:52 +00:00
{
2022-10-27 08:06:36 +00:00
MethodName : "ShowArtworkInfo" ,
Handler : _ArtShow_ShowArtworkInfo_Handler ,
} ,
{
MethodName : "ShowDetail" ,
Handler : _ArtShow_ShowDetail_Handler ,
2022-09-21 06:30:52 +00:00
} ,
{
MethodName : "ShowStatisticalInfo" ,
Handler : _ArtShow_ShowStatisticalInfo_Handler ,
} ,
{
MethodName : "ArtworkPrice" ,
Handler : _ArtShow_ArtworkPrice_Handler ,
} ,
{
MethodName : "CreateApply" ,
Handler : _ArtShow_CreateApply_Handler ,
} ,
{
MethodName : "UpdateApply" ,
Handler : _ArtShow_UpdateApply_Handler ,
} ,
{
MethodName : "DelApply" ,
Handler : _ArtShow_DelApply_Handler ,
} ,
{
MethodName : "ShowListWithApply" ,
Handler : _ArtShow_ShowListWithApply_Handler ,
} ,
{
MethodName : "UpdateApplyStatus" ,
Handler : _ArtShow_UpdateApplyStatus_Handler ,
} ,
{
MethodName : "ApplyList" ,
Handler : _ArtShow_ApplyList_Handler ,
} ,
{
MethodName : "ApplyDetail" ,
Handler : _ArtShow_ApplyDetail_Handler ,
} ,
2023-01-31 09:14:18 +00:00
{
MethodName : "ArtworkPriceList" ,
Handler : _ArtShow_ArtworkPriceList_Handler ,
} ,
2023-03-30 00:58:03 +00:00
{
MethodName : "CancelShow" ,
Handler : _ArtShow_CancelShow_Handler ,
} ,
{
MethodName : "UpdateArtworkReward" ,
Handler : _ArtShow_UpdateArtworkReward_Handler ,
} ,
{
MethodName : "UpdateArtworkSaleAddress" ,
Handler : _ArtShow_UpdateArtworkSaleAddress_Handler ,
} ,
{
MethodName : "QueryShowStatus" ,
Handler : _ArtShow_QueryShowStatus_Handler ,
} ,
{
MethodName : "QuerySaleAddress" ,
Handler : _ArtShow_QuerySaleAddress_Handler ,
} ,
2022-09-21 06:30:52 +00:00
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
2022-09-22 06:23:56 +00:00
Metadata : "pb/artshow.proto" ,
2022-09-21 06:30:52 +00:00
}