2023-01-18 09:03:15 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
2023-02-15 14:35:28 +00:00
// - protoc-gen-go-triple v1.0.8
// - protoc v4.22.0--rc2
2023-02-24 16:30:57 +00:00
// source: pb/artistinfoUser.proto
2023-01-18 09:03:15 +00:00
2023-02-24 16:30:57 +00:00
package artistInfoUser
2023-01-18 09:03:15 +00:00
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
2023-02-24 16:30:57 +00:00
// ArtistInfoUserClient is the client API for ArtistInfoUser service.
2023-01-18 09:03:15 +00:00
//
// 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.
2023-02-24 16:30:57 +00:00
type ArtistInfoUserClient interface {
2023-01-18 09:03:15 +00:00
RegisterUser ( ctx context . Context , in * RegisterUserRequest , opts ... grpc_go . CallOption ) ( * RegisterUserRespond , common . ErrorWithAttachment )
2023-02-20 04:51:50 +00:00
UpdateIdCard ( ctx context . Context , in * UpdateIdCardRequest , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment )
// rpc UploadPic (UploadPicRequest) returns (UploadPicRespond) {} //上传身份证反面
2023-01-18 09:03:15 +00:00
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 )
2023-02-20 04:51:50 +00:00
// rpc UpdateRealName (UpdateRealNameRequest) returns (UpdateRealNameRespond){}
2023-01-18 09:03:15 +00:00
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-02-15 14:35:28 +00:00
UpdateMsg ( ctx context . Context , in * UpdateMsgRequest , opts ... grpc_go . CallOption ) ( * UpdateMsgRespond , common . ErrorWithAttachment )
BindInviteInvitedAccount ( ctx context . Context , in * BindInviteInvitedAccountRequest , opts ... grpc_go . CallOption ) ( * BindInviteInvitedAccountRespond , common . ErrorWithAttachment )
BindArtistId ( ctx context . Context , in * BindArtistIdRequest , opts ... grpc_go . CallOption ) ( * BindArtistIdResp , common . ErrorWithAttachment )
2023-02-17 03:33:56 +00:00
FindUser ( ctx context . Context , in * FindUserRequest , opts ... grpc_go . CallOption ) ( * UserInfo , common . ErrorWithAttachment )
2023-02-27 07:51:04 +00:00
FindUsers ( ctx context . Context , in * FindUsersRequest , opts ... grpc_go . CallOption ) ( * FindUsersResponse , common . ErrorWithAttachment )
FindUsersUserView ( ctx context . Context , in * FindUsersRequest , opts ... grpc_go . CallOption ) ( * FindUsersUserViewResponse , common . ErrorWithAttachment )
2023-02-17 03:33:56 +00:00
UpdateUserData ( ctx context . Context , in * UserInfo , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment )
2023-02-22 05:37:50 +00:00
PreSaveArtistInfo ( ctx context . Context , in * PreSaveArtistInfoData , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment )
GetPreSaveArtistInfo ( ctx context . Context , in * GetPreSaveArtistInfoRequest , opts ... grpc_go . CallOption ) ( * PreSaveArtistInfoData , common . ErrorWithAttachment )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
type artistInfoUserClient struct {
2023-01-18 09:03:15 +00:00
cc * triple . TripleConn
}
2023-02-24 16:30:57 +00:00
type ArtistInfoUserClientImpl struct {
2023-02-15 14:35:28 +00:00
RegisterUser func ( ctx context . Context , in * RegisterUserRequest ) ( * RegisterUserRespond , error )
2023-02-20 04:51:50 +00:00
UpdateIdCard func ( ctx context . Context , in * UpdateIdCardRequest ) ( * CommonNoParams , error )
2023-02-15 14:35:28 +00:00
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 )
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 )
UserLock func ( ctx context . Context , in * UserLockRequest ) ( * UserLockRespond , error )
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 )
UpdateMsg func ( ctx context . Context , in * UpdateMsgRequest ) ( * UpdateMsgRespond , error )
BindInviteInvitedAccount func ( ctx context . Context , in * BindInviteInvitedAccountRequest ) ( * BindInviteInvitedAccountRespond , error )
BindArtistId func ( ctx context . Context , in * BindArtistIdRequest ) ( * BindArtistIdResp , error )
2023-02-17 03:33:56 +00:00
FindUser func ( ctx context . Context , in * FindUserRequest ) ( * UserInfo , error )
2023-02-27 07:51:04 +00:00
FindUsers func ( ctx context . Context , in * FindUsersRequest ) ( * FindUsersResponse , error )
FindUsersUserView func ( ctx context . Context , in * FindUsersRequest ) ( * FindUsersUserViewResponse , error )
2023-02-17 03:33:56 +00:00
UpdateUserData func ( ctx context . Context , in * UserInfo ) ( * CommonNoParams , error )
2023-02-22 05:37:50 +00:00
PreSaveArtistInfo func ( ctx context . Context , in * PreSaveArtistInfoData ) ( * CommonNoParams , error )
GetPreSaveArtistInfo func ( ctx context . Context , in * GetPreSaveArtistInfoRequest ) ( * PreSaveArtistInfoData , error )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func ( c * ArtistInfoUserClientImpl ) GetDubboStub ( cc * triple . TripleConn ) ArtistInfoUserClient {
return NewArtistInfoUserClient ( cc )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func ( c * ArtistInfoUserClientImpl ) XXX_InterfaceName ( ) string {
return "artistinfo.ArtistInfoUser"
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func NewArtistInfoUserClient ( cc * triple . TripleConn ) ArtistInfoUserClient {
return & artistInfoUserClient { cc }
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) RegisterUser ( ctx context . Context , in * RegisterUserRequest , opts ... grpc_go . CallOption ) ( * RegisterUserRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( RegisterUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RegisterUser" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) UpdateIdCard ( ctx context . Context , in * UpdateIdCardRequest , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment ) {
2023-02-20 04:51:50 +00:00
out := new ( CommonNoParams )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateIdCard" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) GetUser ( ctx context . Context , in * GetUserRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( GetUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUser" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) GetUserById ( ctx context . Context , in * GetUserByIdRequest , opts ... grpc_go . CallOption ) ( * GetUserByIdRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( GetUserByIdRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUserById" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) CreateUser ( ctx context . Context , in * CreateUserRequest , opts ... grpc_go . CallOption ) ( * CreateUserRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( CreateUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateUser" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) CreateUserInfo ( ctx context . Context , in * CreateUserInfoRequest , opts ... grpc_go . CallOption ) ( * CreateUserInfoRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( CreateUserInfoRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CreateUserInfo" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) FinishVerify ( ctx context . Context , in * FinishVerifyRequest , opts ... grpc_go . CallOption ) ( * FinishVerifyRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( FinishVerifyRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/FinishVerify" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) CheckUserLock ( ctx context . Context , in * CheckUserLockRequest , opts ... grpc_go . CallOption ) ( * CheckUserLockRespond , common . ErrorWithAttachment ) {
2023-01-18 09:03:15 +00:00
out := new ( CheckUserLockRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckUserLock" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) ArtistSupplyList ( ctx context . Context , in * ArtistSupplyListRequest , opts ... grpc_go . CallOption ) ( * ArtistSupplyListRespond , common . ErrorWithAttachment ) {
2023-02-02 06:10:24 +00:00
out := new ( ArtistSupplyListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ArtistSupplyList" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) UserLock ( ctx context . Context , in * UserLockRequest , opts ... grpc_go . CallOption ) ( * UserLockRespond , common . ErrorWithAttachment ) {
2023-02-06 01:33:09 +00:00
out := new ( UserLockRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UserLock" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) CheckInvitedCode ( ctx context . Context , in * CheckInvitedCodeRequest , opts ... grpc_go . CallOption ) ( * GetUserRespond , common . ErrorWithAttachment ) {
2023-02-15 01:39:14 +00:00
out := new ( GetUserRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckInvitedCode" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) UnFinishList ( ctx context . Context , in * UnFinishListRequest , opts ... grpc_go . CallOption ) ( * UnFinishListRespond , common . ErrorWithAttachment ) {
2023-02-15 01:39:14 +00:00
out := new ( UnFinishListRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UnFinishList" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) GetUserMsg ( ctx context . Context , in * GetUserMsgRequest , opts ... grpc_go . CallOption ) ( * GetUserMsgRespond , common . ErrorWithAttachment ) {
2023-02-15 01:39:14 +00:00
out := new ( GetUserMsgRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetUserMsg" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) UpdateMsg ( ctx context . Context , in * UpdateMsgRequest , opts ... grpc_go . CallOption ) ( * UpdateMsgRespond , common . ErrorWithAttachment ) {
2023-02-15 14:35:28 +00:00
out := new ( UpdateMsgRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateMsg" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) BindInviteInvitedAccount ( ctx context . Context , in * BindInviteInvitedAccountRequest , opts ... grpc_go . CallOption ) ( * BindInviteInvitedAccountRespond , common . ErrorWithAttachment ) {
2023-02-15 14:35:28 +00:00
out := new ( BindInviteInvitedAccountRespond )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/BindInviteInvitedAccount" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) BindArtistId ( ctx context . Context , in * BindArtistIdRequest , opts ... grpc_go . CallOption ) ( * BindArtistIdResp , common . ErrorWithAttachment ) {
2023-02-15 14:35:28 +00:00
out := new ( BindArtistIdResp )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/BindArtistId" , in , out )
}
2023-02-27 07:51:04 +00:00
func ( c * artistInfoUserClient ) FindUser ( ctx context . Context , in * FindUserRequest , opts ... grpc_go . CallOption ) ( * UserInfo , common . ErrorWithAttachment ) {
out := new ( UserInfo )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/FindUser" , in , out )
}
func ( c * artistInfoUserClient ) FindUsers ( ctx context . Context , in * FindUsersRequest , opts ... grpc_go . CallOption ) ( * FindUsersResponse , common . ErrorWithAttachment ) {
out := new ( FindUsersResponse )
2023-02-17 03:33:56 +00:00
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/FindUsers" , in , out )
}
2023-02-27 07:51:04 +00:00
func ( c * artistInfoUserClient ) FindUsersUserView ( ctx context . Context , in * FindUsersRequest , opts ... grpc_go . CallOption ) ( * FindUsersUserViewResponse , common . ErrorWithAttachment ) {
out := new ( FindUsersUserViewResponse )
2023-02-17 03:33:56 +00:00
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
2023-02-27 07:51:04 +00:00
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/FindUsersUserView" , in , out )
2023-02-17 03:33:56 +00:00
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) UpdateUserData ( ctx context . Context , in * UserInfo , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment ) {
2023-02-17 03:33:56 +00:00
out := new ( CommonNoParams )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateUserData" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) PreSaveArtistInfo ( ctx context . Context , in * PreSaveArtistInfoData , opts ... grpc_go . CallOption ) ( * CommonNoParams , common . ErrorWithAttachment ) {
2023-02-22 05:37:50 +00:00
out := new ( CommonNoParams )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/PreSaveArtistInfo" , in , out )
}
2023-02-24 16:30:57 +00:00
func ( c * artistInfoUserClient ) GetPreSaveArtistInfo ( ctx context . Context , in * GetPreSaveArtistInfoRequest , opts ... grpc_go . CallOption ) ( * PreSaveArtistInfoData , common . ErrorWithAttachment ) {
2023-02-22 05:37:50 +00:00
out := new ( PreSaveArtistInfoData )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GetPreSaveArtistInfo" , in , out )
}
2023-02-24 16:30:57 +00:00
// ArtistInfoUserServer is the server API for ArtistInfoUser service.
// All implementations must embed UnimplementedArtistInfoUserServer
2023-01-18 09:03:15 +00:00
// for forward compatibility
2023-02-24 16:30:57 +00:00
type ArtistInfoUserServer interface {
2023-01-18 09:03:15 +00:00
RegisterUser ( context . Context , * RegisterUserRequest ) ( * RegisterUserRespond , error )
2023-02-20 04:51:50 +00:00
UpdateIdCard ( context . Context , * UpdateIdCardRequest ) ( * CommonNoParams , error )
// rpc UploadPic (UploadPicRequest) returns (UploadPicRespond) {} //上传身份证反面
2023-01-18 09:03:15 +00:00
GetUser ( context . Context , * GetUserRequest ) ( * GetUserRespond , error )
GetUserById ( context . Context , * GetUserByIdRequest ) ( * GetUserByIdRespond , error )
CreateUser ( context . Context , * CreateUserRequest ) ( * CreateUserRespond , error )
CreateUserInfo ( context . Context , * CreateUserInfoRequest ) ( * CreateUserInfoRespond , error )
2023-02-20 04:51:50 +00:00
// rpc UpdateRealName (UpdateRealNameRequest) returns (UpdateRealNameRespond){}
2023-01-18 09:03:15 +00:00
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-02-15 14:35:28 +00:00
UpdateMsg ( context . Context , * UpdateMsgRequest ) ( * UpdateMsgRespond , error )
BindInviteInvitedAccount ( context . Context , * BindInviteInvitedAccountRequest ) ( * BindInviteInvitedAccountRespond , error )
BindArtistId ( context . Context , * BindArtistIdRequest ) ( * BindArtistIdResp , error )
2023-02-17 03:33:56 +00:00
FindUser ( context . Context , * FindUserRequest ) ( * UserInfo , error )
2023-02-27 07:51:04 +00:00
FindUsers ( context . Context , * FindUsersRequest ) ( * FindUsersResponse , error )
FindUsersUserView ( context . Context , * FindUsersRequest ) ( * FindUsersUserViewResponse , error )
2023-02-17 03:33:56 +00:00
UpdateUserData ( context . Context , * UserInfo ) ( * CommonNoParams , error )
2023-02-22 05:37:50 +00:00
PreSaveArtistInfo ( context . Context , * PreSaveArtistInfoData ) ( * CommonNoParams , error )
GetPreSaveArtistInfo ( context . Context , * GetPreSaveArtistInfoRequest ) ( * PreSaveArtistInfoData , error )
2023-02-24 16:30:57 +00:00
mustEmbedUnimplementedArtistInfoUserServer ( )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
// UnimplementedArtistInfoUserServer must be embedded to have forward compatible implementations.
type UnimplementedArtistInfoUserServer struct {
2023-01-18 09:03:15 +00:00
proxyImpl protocol . Invoker
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) RegisterUser ( context . Context , * RegisterUserRequest ) ( * RegisterUserRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method RegisterUser not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) UpdateIdCard ( context . Context , * UpdateIdCardRequest ) ( * CommonNoParams , error ) {
2023-02-20 04:51:50 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateIdCard not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) GetUser ( context . Context , * GetUserRequest ) ( * GetUserRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method GetUser not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) GetUserById ( context . Context , * GetUserByIdRequest ) ( * GetUserByIdRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method GetUserById not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) CreateUser ( context . Context , * CreateUserRequest ) ( * CreateUserRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method CreateUser not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) CreateUserInfo ( context . Context , * CreateUserInfoRequest ) ( * CreateUserInfoRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method CreateUserInfo not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) FinishVerify ( context . Context , * FinishVerifyRequest ) ( * FinishVerifyRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method FinishVerify not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) CheckUserLock ( context . Context , * CheckUserLockRequest ) ( * CheckUserLockRespond , error ) {
2023-01-18 09:03:15 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method CheckUserLock not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) ArtistSupplyList ( context . Context , * ArtistSupplyListRequest ) ( * ArtistSupplyListRespond , error ) {
2023-02-02 06:10:24 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method ArtistSupplyList not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) UserLock ( context . Context , * UserLockRequest ) ( * UserLockRespond , error ) {
2023-02-06 01:33:09 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UserLock not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) CheckInvitedCode ( context . Context , * CheckInvitedCodeRequest ) ( * GetUserRespond , error ) {
2023-02-15 01:39:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method CheckInvitedCode not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) UnFinishList ( context . Context , * UnFinishListRequest ) ( * UnFinishListRespond , error ) {
2023-02-15 01:39:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UnFinishList not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) GetUserMsg ( context . Context , * GetUserMsgRequest ) ( * GetUserMsgRespond , error ) {
2023-02-15 01:39:14 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method GetUserMsg not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) UpdateMsg ( context . Context , * UpdateMsgRequest ) ( * UpdateMsgRespond , error ) {
2023-02-15 14:35:28 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateMsg not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) BindInviteInvitedAccount ( context . Context , * BindInviteInvitedAccountRequest ) ( * BindInviteInvitedAccountRespond , error ) {
2023-02-15 14:35:28 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method BindInviteInvitedAccount not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) BindArtistId ( context . Context , * BindArtistIdRequest ) ( * BindArtistIdResp , error ) {
2023-02-15 14:35:28 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method BindArtistId not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) FindUser ( context . Context , * FindUserRequest ) ( * UserInfo , error ) {
2023-02-17 03:33:56 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method FindUser not implemented" )
}
2023-02-27 07:51:04 +00:00
func ( UnimplementedArtistInfoUserServer ) FindUsers ( context . Context , * FindUsersRequest ) ( * FindUsersResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FindUsers not implemented" )
}
func ( UnimplementedArtistInfoUserServer ) FindUsersUserView ( context . Context , * FindUsersRequest ) ( * FindUsersUserViewResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method FindUsersUserView not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) UpdateUserData ( context . Context , * UserInfo ) ( * CommonNoParams , error ) {
2023-02-17 03:33:56 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UpdateUserData not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) PreSaveArtistInfo ( context . Context , * PreSaveArtistInfoData ) ( * CommonNoParams , error ) {
2023-02-22 05:37:50 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method PreSaveArtistInfo not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) GetPreSaveArtistInfo ( context . Context , * GetPreSaveArtistInfoRequest ) ( * PreSaveArtistInfoData , error ) {
2023-02-22 05:37:50 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method GetPreSaveArtistInfo not implemented" )
}
2023-02-24 16:30:57 +00:00
func ( s * UnimplementedArtistInfoUserServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
2023-01-18 09:03:15 +00:00
s . proxyImpl = impl
}
2023-02-24 16:30:57 +00:00
func ( s * UnimplementedArtistInfoUserServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
2023-01-18 09:03:15 +00:00
return s . proxyImpl
}
2023-02-24 16:30:57 +00:00
func ( s * UnimplementedArtistInfoUserServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & ArtistInfoUser_ServiceDesc
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func ( s * UnimplementedArtistInfoUserServer ) XXX_InterfaceName ( ) string {
return "artistinfo.ArtistInfoUser"
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func ( UnimplementedArtistInfoUserServer ) mustEmbedUnimplementedArtistInfoUserServer ( ) { }
2023-01-18 09:03:15 +00:00
2023-02-24 16:30:57 +00:00
// UnsafeArtistInfoUserServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to ArtistInfoUserServer will
2023-01-18 09:03:15 +00:00
// result in compilation errors.
2023-02-24 16:30:57 +00:00
type UnsafeArtistInfoUserServer interface {
mustEmbedUnimplementedArtistInfoUserServer ( )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func RegisterArtistInfoUserServer ( s grpc_go . ServiceRegistrar , srv ArtistInfoUserServer ) {
s . RegisterService ( & ArtistInfoUser_ServiceDesc , srv )
2023-01-18 09:03:15 +00:00
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_RegisterUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-20 04:51:50 +00:00
in := new ( RegisterUserRequest )
2023-01-18 09:03:15 +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
}
2023-02-20 04:51:50 +00:00
invo := invocation . NewRPCInvocation ( "RegisterUser" , args , invAttachment )
2023-01-18 09:03:15 +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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_UpdateIdCard_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-20 04:51:50 +00:00
in := new ( UpdateIdCardRequest )
2023-01-18 09:03:15 +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
}
2023-02-20 04:51:50 +00:00
invo := invocation . NewRPCInvocation ( "UpdateIdCard" , args , invAttachment )
2023-01-18 09:03:15 +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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_GetUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_GetUserById_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_CreateUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_CreateUserInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_FinishVerify_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_CheckUserLock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-01-18 09:03:15 +00:00
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-24 16:30:57 +00:00
func _ArtistInfoUser_ArtistSupplyList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-02 06:10:24 +00:00
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-24 16:30:57 +00:00
func _ArtistInfoUser_UserLock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-06 01:33:09 +00:00
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-24 16:30:57 +00:00
func _ArtistInfoUser_CheckInvitedCode_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 01:39:14 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_UnFinishList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 01:39:14 +00:00
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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_GetUserMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 01:39:14 +00:00
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-02-24 16:30:57 +00:00
func _ArtistInfoUser_UpdateMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 14:35:28 +00:00
in := new ( UpdateMsgRequest )
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 ( "UpdateMsg" , 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-24 16:30:57 +00:00
func _ArtistInfoUser_BindInviteInvitedAccount_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 14:35:28 +00:00
in := new ( BindInviteInvitedAccountRequest )
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 ( "BindInviteInvitedAccount" , 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-24 16:30:57 +00:00
func _ArtistInfoUser_BindArtistId_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-15 14:35:28 +00:00
in := new ( BindArtistIdRequest )
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 ( "BindArtistId" , 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-27 07:51:04 +00:00
func _ArtistInfoUser_FindUser_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-17 03:33:56 +00:00
in := new ( FindUserRequest )
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
}
2023-02-27 07:51:04 +00:00
invo := invocation . NewRPCInvocation ( "FindUser" , 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 _ArtistInfoUser_FindUsers_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FindUsersRequest )
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
}
2023-02-17 03:33:56 +00:00
invo := invocation . NewRPCInvocation ( "FindUsers" , 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-27 07:51:04 +00:00
func _ArtistInfoUser_FindUsersUserView_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( FindUsersRequest )
2023-02-17 03:33:56 +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
}
2023-02-27 07:51:04 +00:00
invo := invocation . NewRPCInvocation ( "FindUsersUserView" , args , invAttachment )
2023-02-17 03:33:56 +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 )
}
2023-02-24 16:30:57 +00:00
func _ArtistInfoUser_UpdateUserData_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-17 03:33:56 +00:00
in := new ( UserInfo )
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 ( "UpdateUserData" , 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-24 16:30:57 +00:00
func _ArtistInfoUser_PreSaveArtistInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-22 05:37:50 +00:00
in := new ( PreSaveArtistInfoData )
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 ( "PreSaveArtistInfo" , 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-24 16:30:57 +00:00
func _ArtistInfoUser_GetPreSaveArtistInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
2023-02-22 05:37:50 +00:00
in := new ( GetPreSaveArtistInfoRequest )
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 ( "GetPreSaveArtistInfo" , 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-24 16:30:57 +00:00
// ArtistInfoUser_ServiceDesc is the grpc_go.ServiceDesc for ArtistInfoUser service.
2023-01-18 09:03:15 +00:00
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
2023-02-24 16:30:57 +00:00
var ArtistInfoUser_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "artistinfo.ArtistInfoUser" ,
HandlerType : ( * ArtistInfoUserServer ) ( nil ) ,
2023-01-18 09:03:15 +00:00
Methods : [ ] grpc_go . MethodDesc {
{
MethodName : "RegisterUser" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_RegisterUser_Handler ,
2023-01-18 09:03:15 +00:00
} ,
2023-02-20 04:51:50 +00:00
{
MethodName : "UpdateIdCard" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_UpdateIdCard_Handler ,
2023-02-20 04:51:50 +00:00
} ,
2023-01-18 09:03:15 +00:00
{
MethodName : "GetUser" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_GetUser_Handler ,
2023-01-18 09:03:15 +00:00
} ,
{
MethodName : "GetUserById" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_GetUserById_Handler ,
2023-01-18 09:03:15 +00:00
} ,
{
MethodName : "CreateUser" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_CreateUser_Handler ,
2023-01-18 09:03:15 +00:00
} ,
{
MethodName : "CreateUserInfo" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_CreateUserInfo_Handler ,
2023-01-18 09:03:15 +00:00
} ,
{
MethodName : "FinishVerify" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_FinishVerify_Handler ,
2023-01-18 09:03:15 +00:00
} ,
{
MethodName : "CheckUserLock" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_CheckUserLock_Handler ,
2023-01-18 09:03:15 +00:00
} ,
2023-02-02 06:10:24 +00:00
{
MethodName : "ArtistSupplyList" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_ArtistSupplyList_Handler ,
2023-02-02 06:10:24 +00:00
} ,
2023-02-06 01:33:09 +00:00
{
MethodName : "UserLock" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_UserLock_Handler ,
2023-02-06 01:33:09 +00:00
} ,
2023-02-15 01:39:14 +00:00
{
MethodName : "CheckInvitedCode" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_CheckInvitedCode_Handler ,
2023-02-15 01:39:14 +00:00
} ,
{
MethodName : "UnFinishList" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_UnFinishList_Handler ,
2023-02-15 01:39:14 +00:00
} ,
{
MethodName : "GetUserMsg" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_GetUserMsg_Handler ,
2023-02-15 01:39:14 +00:00
} ,
2023-02-15 14:35:28 +00:00
{
MethodName : "UpdateMsg" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_UpdateMsg_Handler ,
2023-02-15 14:35:28 +00:00
} ,
{
MethodName : "BindInviteInvitedAccount" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_BindInviteInvitedAccount_Handler ,
2023-02-15 14:35:28 +00:00
} ,
{
MethodName : "BindArtistId" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_BindArtistId_Handler ,
2023-02-15 14:35:28 +00:00
} ,
2023-02-27 07:51:04 +00:00
{
MethodName : "FindUser" ,
Handler : _ArtistInfoUser_FindUser_Handler ,
} ,
2023-02-17 03:33:56 +00:00
{
MethodName : "FindUsers" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_FindUsers_Handler ,
2023-02-17 03:33:56 +00:00
} ,
{
2023-02-27 07:51:04 +00:00
MethodName : "FindUsersUserView" ,
Handler : _ArtistInfoUser_FindUsersUserView_Handler ,
2023-02-17 03:33:56 +00:00
} ,
{
MethodName : "UpdateUserData" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_UpdateUserData_Handler ,
2023-02-17 03:33:56 +00:00
} ,
2023-02-22 05:37:50 +00:00
{
MethodName : "PreSaveArtistInfo" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_PreSaveArtistInfo_Handler ,
2023-02-22 05:37:50 +00:00
} ,
{
MethodName : "GetPreSaveArtistInfo" ,
2023-02-24 16:30:57 +00:00
Handler : _ArtistInfoUser_GetPreSaveArtistInfo_Handler ,
2023-02-22 05:37:50 +00:00
} ,
2023-01-18 09:03:15 +00:00
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
2023-02-24 16:30:57 +00:00
Metadata : "pb/artistinfoUser.proto" ,
2023-01-18 09:03:15 +00:00
}