2023-01-18 09:03:15 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.5
// - protoc v3.9.0
2023-02-02 06:10:24 +00:00
// source: pb/artistinfo/artistinfo.proto
2023-01-18 09:03:15 +00:00
package artistinfo
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
// ArtistInfoClient is the client API for ArtistInfo 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 ArtistInfoClient interface {
UploadPic ( ctx context . Context , in * UploadPicRequest , opts ... grpc_go . CallOption ) ( * UploadPicRespond , common . ErrorWithAttachment )
UploadIdCard ( ctx context . Context , in * UploadIdCardRequest , opts ... grpc_go . CallOption ) ( * UploadIdCardRespond , common . ErrorWithAttachment )
RegisterUser ( ctx context . Context , in * RegisterUserRequest , opts ... grpc_go . CallOption ) ( * RegisterUserRespond , common . ErrorWithAttachment )
GetUser ( ctx context . Context , in * GetUserRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment )
GetUserById ( ctx context . Context , in * GetUserByIdRequest , opts ... grpc_go . CallOption ) ( * GetUserByIdRespond , common . ErrorWithAttachment )
CreateUser ( ctx context . Context , in * CreateUserRequest , opts ... grpc_go . CallOption ) ( * CreateUserRespond , common . ErrorWithAttachment )
CreateUserInfo ( ctx context . Context , in * CreateUserInfoRequest , opts ... grpc_go . CallOption ) ( * CreateUserInfoRespond , common . ErrorWithAttachment )
UpdateRealName ( ctx context . Context , in * UpdateRealNameRequest , opts ... grpc_go . CallOption ) ( * UpdateRealNameRespond , common . ErrorWithAttachment )
FinishVerify ( ctx context . Context , in * FinishVerifyRequest , opts ... grpc_go . CallOption ) ( * FinishVerifyRespond , common . ErrorWithAttachment )
CheckUserLock ( ctx context . Context , in * CheckUserLockRequest , opts ... grpc_go . CallOption ) ( * CheckUserLockRespond , common . ErrorWithAttachment )
2023-02-02 06:10:24 +00:00
ArtistSupplyList ( ctx context . Context , in * ArtistSupplyListRequest , opts ... grpc_go . CallOption ) ( * ArtistSupplyListRespond , common . ErrorWithAttachment )
2023-02-06 01:33:09 +00:00
UserLock ( ctx context . Context , in * UserLockRequest , opts ... grpc_go . CallOption ) ( * UserLockRespond , common . ErrorWithAttachment )
2023-02-15 01:39:14 +00:00
CheckInvitedCode ( ctx context . Context , in * CheckInvitedCodeRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment )
UnFinishList ( ctx context . Context , in * UnFinishListRequest , opts ... grpc_go . CallOption ) ( * UnFinishListRespond , common . ErrorWithAttachment )
GetUserMsg ( ctx context . Context , in * GetUserMsgRequest , opts ... grpc_go . CallOption ) ( * GetUserMsgRespond , common . ErrorWithAttachment )
2023-01-18 09:03:15 +00:00
}
type artistInfoClient struct {
cc * triple . TripleConn
}
type ArtistInfoClientImpl struct {
2023-02-02 06:10:24 +00:00
UploadPic func ( ctx context . Context , in * UploadPicRequest ) ( * UploadPicRespond , error )
UploadIdCard func ( ctx context . Context , in * UploadIdCardRequest ) ( * UploadIdCardRespond , error )
RegisterUser func ( ctx context . Context , in * RegisterUserRequest ) ( * RegisterUserRespond , error )
GetUser func ( ctx context . Context , in * GetUserRequest ) ( * GetUserRespond , error )
GetUserById func ( ctx context . Context , in * GetUserByIdRequest ) ( * GetUserByIdRespond , error )
CreateUser func ( ctx context . Context , in * CreateUserRequest ) ( * CreateUserRespond , error )
CreateUserInfo func ( ctx context . Context , in * CreateUserInfoRequest ) ( * CreateUserInfoRespond , error )
UpdateRealName func ( ctx context . Context , in * UpdateRealNameRequest ) ( * UpdateRealNameRespond , error )
FinishVerify func ( ctx context . Context , in * FinishVerifyRequest ) ( * FinishVerifyRespond , error )
CheckUserLock func ( ctx context . Context , in * CheckUserLockRequest ) ( * CheckUserLockRespond , error )
ArtistSupplyList func ( ctx context . Context , in * ArtistSupplyListRequest ) ( * ArtistSupplyListRespond , error )
2023-02-06 01:33:09 +00:00
UserLock func ( ctx context . Context , in * UserLockRequest ) ( * UserLockRespond , error )
2023-02-15 01:39:14 +00:00
CheckInvitedCode func ( ctx context . Context , in * CheckInvitedCodeRequest ) ( * GetUserRespond , error )
UnFinishList func ( ctx context . Context , in * UnFinishListRequest ) ( * UnFinishListRespond , error )
GetUserMsg func ( ctx context . Context , in * GetUserMsgRequest ) ( * GetUserMsgRespond , error )
2023-01-18 09:03:15 +00:00
}
func ( c * ArtistInfoClientImpl ) GetDubboStub ( cc * triple . TripleConn ) ArtistInfoClient {
return NewArtistInfoClient ( cc )
}
func ( c * ArtistInfoClientImpl ) XXX_InterfaceName ( ) string {
return "artistinfo.ArtistInfo"
}
func NewArtistInfoClient ( cc * triple . TripleConn ) ArtistInfoClient {
return & artistInfoClient { cc }
}
func ( c * artistInfoClient ) UploadPic ( ctx context . Context , in * UploadPicRequest , opts ... grpc_go . CallOption ) ( * UploadPicRespond , common . ErrorWithAttachment ) {
out := new ( UploadPicRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadPic" , in , out )
}
func ( c * artistInfoClient ) UploadIdCard ( ctx context . Context , in * UploadIdCardRequest , opts ... grpc_go . CallOption ) ( * UploadIdCardRespond , common . ErrorWithAttachment ) {
out := new ( UploadIdCardRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UploadIdCard" , in , out )
}
func ( c * artistInfoClient ) RegisterUser ( ctx context . Context , in * RegisterUserRequest , opts ... grpc_go . CallOption ) ( * RegisterUserRespond , common . ErrorWithAttachment ) {
out := new ( RegisterUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RegisterUser" , in , out )
}
func ( c * artistInfoClient ) GetUser ( ctx context . Context , in * GetUserRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment ) {
out := new ( GetUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUser" , in , out )
}
func ( c * artistInfoClient ) GetUserById ( ctx context . Context , in * GetUserByIdRequest , opts ... grpc_go . CallOption ) ( * GetUserByIdRespond , common . ErrorWithAttachment ) {
out := new ( GetUserByIdRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUserById" , in , out )
}
func ( c * artistInfoClient ) CreateUser ( ctx context . Context , in * CreateUserRequest , opts ... grpc_go . CallOption ) ( * CreateUserRespond , common . ErrorWithAttachment ) {
out := new ( CreateUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateUser" , in , out )
}
func ( c * artistInfoClient ) CreateUserInfo ( ctx context . Context , in * CreateUserInfoRequest , opts ... grpc_go . CallOption ) ( * CreateUserInfoRespond , common . ErrorWithAttachment ) {
out := new ( CreateUserInfoRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateUserInfo" , in , out )
}
func ( c * artistInfoClient ) UpdateRealName ( ctx context . Context , in * UpdateRealNameRequest , opts ... grpc_go . CallOption ) ( * UpdateRealNameRespond , common . ErrorWithAttachment ) {
out := new ( UpdateRealNameRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateRealName" , in , out )
}
func ( c * artistInfoClient ) FinishVerify ( ctx context . Context , in * FinishVerifyRequest , opts ... grpc_go . CallOption ) ( * FinishVerifyRespond , common . ErrorWithAttachment ) {
out := new ( FinishVerifyRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/FinishVerify" , in , out )
}
func ( c * artistInfoClient ) CheckUserLock ( ctx context . Context , in * CheckUserLockRequest , opts ... grpc_go . CallOption ) ( * CheckUserLockRespond , common . ErrorWithAttachment ) {
out := new ( CheckUserLockRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckUserLock" , in , out )
}
2023-02-02 06:10:24 +00:00
func ( c * artistInfoClient ) ArtistSupplyList ( ctx context . Context , in * ArtistSupplyListRequest , opts ... grpc_go . CallOption ) ( * ArtistSupplyListRespond , common . ErrorWithAttachment ) {
out := new ( ArtistSupplyListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ArtistSupplyList" , in , out )
}
2023-02-06 01:33:09 +00:00
func ( c * artistInfoClient ) UserLock ( ctx context . Context , in * UserLockRequest , opts ... grpc_go . CallOption ) ( * UserLockRespond , common . ErrorWithAttachment ) {
out := new ( UserLockRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UserLock" , in , out )
}
2023-02-15 01:39:14 +00:00
func ( c * artistInfoClient ) CheckInvitedCode ( ctx context . Context , in * CheckInvitedCodeRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment ) {
out := new ( GetUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckInvitedCode" , in , out )
}
func ( c * artistInfoClient ) UnFinishList ( ctx context . Context , in * UnFinishListRequest , opts ... grpc_go . CallOption ) ( * UnFinishListRespond , common . ErrorWithAttachment ) {
out := new ( UnFinishListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UnFinishList" , in , out )
}
func ( c * artistInfoClient ) GetUserMsg ( ctx context . Context , in * GetUserMsgRequest , opts ... grpc_go . CallOption ) ( * GetUserMsgRespond , common . ErrorWithAttachment ) {
out := new ( GetUserMsgRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUserMsg" , in , out )
}
2023-01-18 09:03:15 +00:00
// ArtistInfoServer is the server API for ArtistInfo service.
// All implementations must embed UnimplementedArtistInfoServer
// for forward compatibility
type ArtistInfoServer interface {
UploadPic ( context . Context , * UploadPicRequest ) ( * UploadPicRespond , error )
UploadIdCard ( context . Context , * UploadIdCardRequest ) ( * UploadIdCardRespond , error )
RegisterUser ( context . Context , * RegisterUserRequest ) ( * RegisterUserRespond , error )
GetUser ( context . Context , * GetUserRequest ) ( * GetUserRespond , error )
GetUserById ( context . Context , * GetUserByIdRequest ) ( * GetUserByIdRespond , error )
CreateUser ( context . Context , * CreateUserRequest ) ( * CreateUserRespond , error )
CreateUserInfo ( context . Context , * CreateUserInfoRequest ) ( * CreateUserInfoRespond , error )
UpdateRealName ( context . Context , * UpdateRealNameRequest ) ( * UpdateRealNameRespond , error )
FinishVerify ( context . Context , * FinishVerifyRequest ) ( * FinishVerifyRespond , error )
CheckUserLock ( context . Context , * CheckUserLockRequest ) ( * CheckUserLockRespond , error )
2023-02-02 06:10:24 +00:00
ArtistSupplyList ( context . Context , * ArtistSupplyListRequest ) ( * ArtistSupplyListRespond , error )
2023-02-06 01:33:09 +00:00
UserLock ( context . Context , * UserLockRequest ) ( * UserLockRespond , error )
2023-02-15 01:39:14 +00:00
CheckInvitedCode ( context . Context , * CheckInvitedCodeRequest ) ( * GetUserRespond , error )
UnFinishList ( context . Context , * UnFinishListRequest ) ( * UnFinishListRespond , error )
GetUserMsg ( context . Context , * GetUserMsgRequest ) ( * GetUserMsgRespond , error )
2023-01-18 09:03:15 +00:00
mustEmbedUnimplementedArtistInfoServer ( )
}
// UnimplementedArtistInfoServer must be embedded to have forward compatible implementations.
type UnimplementedArtistInfoServer struct {
proxyImpl protocol . Invoker
}
func ( UnimplementedArtistInfoServer ) UploadPic ( context . Context , * UploadPicRequest ) ( * UploadPicRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadPic not implemented" )
}
func ( UnimplementedArtistInfoServer ) UploadIdCard ( context . Context , * UploadIdCardRequest ) ( * UploadIdCardRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UploadIdCard not implemented" )
}
func ( UnimplementedArtistInfoServer ) RegisterUser ( context . Context , * RegisterUserRequest ) ( * RegisterUserRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method RegisterUser not implemented" )
}
func ( UnimplementedArtistInfoServer ) GetUser ( context . Context , * GetUserRequest ) ( * GetUserRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetUser not implemented" )
}
func ( UnimplementedArtistInfoServer ) GetUserById ( context . Context , * GetUserByIdRequest ) ( * GetUserByIdRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetUserById not implemented" )
}
func ( UnimplementedArtistInfoServer ) CreateUser ( context . Context , * CreateUserRequest ) ( * CreateUserRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CreateUser not implemented" )
}
func ( UnimplementedArtistInfoServer ) CreateUserInfo ( context . Context , * CreateUserInfoRequest ) ( * CreateUserInfoRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CreateUserInfo not implemented" )
}
func ( UnimplementedArtistInfoServer ) UpdateRealName ( context . Context , * UpdateRealNameRequest ) ( * UpdateRealNameRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateRealName not implemented" )
}
func ( UnimplementedArtistInfoServer ) FinishVerify ( context . Context , * FinishVerifyRequest ) ( * FinishVerifyRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FinishVerify not implemented" )
}
func ( UnimplementedArtistInfoServer ) CheckUserLock ( context . Context , * CheckUserLockRequest ) ( * CheckUserLockRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CheckUserLock not implemented" )
}
2023-02-02 06:10:24 +00:00
func ( UnimplementedArtistInfoServer ) ArtistSupplyList ( context . Context , * ArtistSupplyListRequest ) ( * ArtistSupplyListRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ArtistSupplyList not implemented" )
}
2023-02-06 01:33:09 +00:00
func ( UnimplementedArtistInfoServer ) UserLock ( context . Context , * UserLockRequest ) ( * UserLockRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UserLock not implemented" )
}
2023-02-15 01:39:14 +00:00
func ( UnimplementedArtistInfoServer ) CheckInvitedCode ( context . Context , * CheckInvitedCodeRequest ) ( * GetUserRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CheckInvitedCode not implemented" )
}
func ( UnimplementedArtistInfoServer ) UnFinishList ( context . Context , * UnFinishListRequest ) ( * UnFinishListRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UnFinishList not implemented" )
}
func ( UnimplementedArtistInfoServer ) GetUserMsg ( context . Context , * GetUserMsgRequest ) ( * GetUserMsgRespond , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GetUserMsg not implemented" )
}
2023-01-18 09:03:15 +00:00
func ( s * UnimplementedArtistInfoServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
s . proxyImpl = impl
}
func ( s * UnimplementedArtistInfoServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
return s . proxyImpl
}
func ( s * UnimplementedArtistInfoServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & ArtistInfo_ServiceDesc
}
func ( s * UnimplementedArtistInfoServer ) XXX_InterfaceName ( ) string {
return "artistinfo.ArtistInfo"
}
func ( UnimplementedArtistInfoServer ) mustEmbedUnimplementedArtistInfoServer ( ) { }
// UnsafeArtistInfoServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ArtistInfoServer will
// result in compilation errors.
type UnsafeArtistInfoServer interface {
mustEmbedUnimplementedArtistInfoServer ( )
}
func RegisterArtistInfoServer ( s grpc_go . ServiceRegistrar , srv ArtistInfoServer ) {
s . RegisterService ( & ArtistInfo_ServiceDesc , srv )
}
func _ArtistInfo_UploadPic_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadPicRequest )
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 ( "UploadPic" , 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 _ArtistInfo_UploadIdCard_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UploadIdCardRequest )
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 ( "UploadIdCard" , 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 _ArtistInfo_RegisterUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RegisterUserRequest )
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 ( "RegisterUser" , 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 _ArtistInfo_GetUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetUserRequest )
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 ( "GetUser" , 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 _ArtistInfo_GetUserById_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetUserByIdRequest )
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 ( "GetUserById" , 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 _ArtistInfo_CreateUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CreateUserRequest )
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 ( "CreateUser" , 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 _ArtistInfo_CreateUserInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CreateUserInfoRequest )
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 ( "CreateUserInfo" , 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 _ArtistInfo_UpdateRealName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UpdateRealNameRequest )
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 ( "UpdateRealName" , 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 _ArtistInfo_FinishVerify_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FinishVerifyRequest )
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 ( "FinishVerify" , 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 _ArtistInfo_CheckUserLock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckUserLockRequest )
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 ( "CheckUserLock" , 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-02-02 06:10:24 +00:00
func _ArtistInfo_ArtistSupplyList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ArtistSupplyListRequest )
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 ( "ArtistSupplyList" , 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-02-06 01:33:09 +00:00
func _ArtistInfo_UserLock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UserLockRequest )
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 ( "UserLock" , 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-02-15 01:39:14 +00:00
func _ArtistInfo_CheckInvitedCode_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckInvitedCodeRequest )
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 ( "CheckInvitedCode" , 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 _ArtistInfo_UnFinishList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UnFinishListRequest )
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 ( "UnFinishList" , 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 _ArtistInfo_GetUserMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GetUserMsgRequest )
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 ( "GetUserMsg" , 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-18 09:03:15 +00:00
// ArtistInfo_ServiceDesc is the grpc_go.ServiceDesc for ArtistInfo service.
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
var ArtistInfo_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "artistinfo.ArtistInfo" ,
HandlerType : ( * ArtistInfoServer ) ( nil ) ,
Methods : [ ] grpc_go . MethodDesc {
{
MethodName : "UploadPic" ,
Handler : _ArtistInfo_UploadPic_Handler ,
} ,
{
MethodName : "UploadIdCard" ,
Handler : _ArtistInfo_UploadIdCard_Handler ,
} ,
{
MethodName : "RegisterUser" ,
Handler : _ArtistInfo_RegisterUser_Handler ,
} ,
{
MethodName : "GetUser" ,
Handler : _ArtistInfo_GetUser_Handler ,
} ,
{
MethodName : "GetUserById" ,
Handler : _ArtistInfo_GetUserById_Handler ,
} ,
{
MethodName : "CreateUser" ,
Handler : _ArtistInfo_CreateUser_Handler ,
} ,
{
MethodName : "CreateUserInfo" ,
Handler : _ArtistInfo_CreateUserInfo_Handler ,
} ,
{
MethodName : "UpdateRealName" ,
Handler : _ArtistInfo_UpdateRealName_Handler ,
} ,
{
MethodName : "FinishVerify" ,
Handler : _ArtistInfo_FinishVerify_Handler ,
} ,
{
MethodName : "CheckUserLock" ,
Handler : _ArtistInfo_CheckUserLock_Handler ,
} ,
2023-02-02 06:10:24 +00:00
{
MethodName : "ArtistSupplyList" ,
Handler : _ArtistInfo_ArtistSupplyList_Handler ,
} ,
2023-02-06 01:33:09 +00:00
{
MethodName : "UserLock" ,
Handler : _ArtistInfo_UserLock_Handler ,
} ,
2023-02-15 01:39:14 +00:00
{
MethodName : "CheckInvitedCode" ,
Handler : _ArtistInfo_CheckInvitedCode_Handler ,
} ,
{
MethodName : "UnFinishList" ,
Handler : _ArtistInfo_UnFinishList_Handler ,
} ,
{
MethodName : "GetUserMsg" ,
Handler : _ArtistInfo_GetUserMsg_Handler ,
} ,
2023-01-18 09:03:15 +00:00
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
2023-02-02 06:10:24 +00:00
Metadata : "pb/artistinfo/artistinfo.proto" ,
2023-01-18 09:03:15 +00:00
}