2025-02-20 08:18:23 +00:00
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
// - protoc v4.24.0--rc1
// source: api/account/account.proto
package account
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
// AccountClient is the client API for Account 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 AccountClient interface {
Login ( ctx context . Context , in * LoginRequest , opts ... grpc_go . CallOption ) ( * TokenInfo , common . ErrorWithAttachment )
RefreshToken ( ctx context . Context , in * RefreshTokenRequest , opts ... grpc_go . CallOption ) ( * TokenInfo , common . ErrorWithAttachment )
Logout ( ctx context . Context , in * DecryptJwtRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment )
OffLine ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment )
OnlineLog ( ctx context . Context , in * LoginInfosByUserIdRequest , opts ... grpc_go . CallOption ) ( * LoginLogsResponse , common . ErrorWithAttachment )
OnlineLogById ( ctx context . Context , in * OnlineLogByIdRequest , opts ... grpc_go . CallOption ) ( * LoginLog , common . ErrorWithAttachment )
CheckPwd ( ctx context . Context , in * CheckPwdRequest , opts ... grpc_go . CallOption ) ( * UpdateResponse , common . ErrorWithAttachment )
// rpc RegisterOrExist (RegistRequest) returns (RequestStatus) {}
SendMsg ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
SendCustomMsg ( ctx context . Context , in * SendCustomMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
SendExCustomMsg ( ctx context . Context , in * SendCustomMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
SendMsgRegister ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
CheckMsg ( ctx context . Context , in * CheckMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
SendNewTelNumMsg ( ctx context . Context , in * SendNewTelNumMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
UpdateTelNum ( ctx context . Context , in * SendNewTelNumMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
Authentication ( ctx context . Context , in * AuthenticationRequest , opts ... grpc_go . CallOption ) ( * RequestStatus , common . ErrorWithAttachment )
DecryptJwt ( ctx context . Context , in * DecryptJwtRequest , opts ... grpc_go . CallOption ) ( * DecryptJwtResponse , common . ErrorWithAttachment )
Info ( ctx context . Context , in * InfoRequest , opts ... grpc_go . CallOption ) ( * UserInfoResponse , common . ErrorWithAttachment )
JobNumGetInfo ( ctx context . Context , in * JobNumGetInfoRequest , opts ... grpc_go . CallOption ) ( * InfoResponse , common . ErrorWithAttachment )
List ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
RandList ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
ListByIDs ( ctx context . Context , in * ListByIDsRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
Remove ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * RemoveResponse , common . ErrorWithAttachment )
Update ( ctx context . Context , in * UpdateRequest , opts ... grpc_go . CallOption ) ( * UpdateResponse , common . ErrorWithAttachment )
UsersByTel ( ctx context . Context , in * UsersByTelRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
2025-02-21 09:49:04 +00:00
UserByTel ( ctx context . Context , in * UserByTelRequest , opts ... grpc_go . CallOption ) ( * UserInfoResponse , common . ErrorWithAttachment )
2025-02-20 08:18:23 +00:00
OnlySendMsg ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
OnlyCheckMsg ( ctx context . Context , in * CheckMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
MailAccountByNickName ( ctx context . Context , in * MailAccountByNickNameRequest , opts ... grpc_go . CallOption ) ( * MaiAccountResponse , common . ErrorWithAttachment )
ListV2 ( ctx context . Context , in * ListV2Request , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
QueryPersonnelWithTheSameName ( ctx context . Context , in * QueryPersonnelWithTheSameNameRequest , opts ... grpc_go . CallOption ) ( * QueryPersonnelWithTheSameNameResponse , common . ErrorWithAttachment )
UsersByJobNum ( ctx context . Context , in * UsersByJobNumRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment )
RealName ( ctx context . Context , in * RealNameRequest , opts ... grpc_go . CallOption ) ( * RealNameResponse , common . ErrorWithAttachment )
Register ( ctx context . Context , in * RegistRequest , opts ... grpc_go . CallOption ) ( * RegisterResponse , common . ErrorWithAttachment )
UserList ( ctx context . Context , in * UserListRequest , opts ... grpc_go . CallOption ) ( * UserListResponse , common . ErrorWithAttachment )
CheckRealName ( ctx context . Context , in * CheckRealNameRequest , opts ... grpc_go . CallOption ) ( * CheckRealNameResponse , common . ErrorWithAttachment )
2025-02-21 08:57:10 +00:00
GenerateSliderCaptcha ( ctx context . Context , in * GenerateSliderCaptchaRequest , opts ... grpc_go . CallOption ) ( * GenerateSliderCaptchaResponse , common . ErrorWithAttachment )
VerifySliderCaptcha ( ctx context . Context , in * VerifySliderCaptchaRequest , opts ... grpc_go . CallOption ) ( * VerifySliderCaptchaResponse , common . ErrorWithAttachment )
SendNationMsg ( ctx context . Context , in * SendNationMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment )
2025-02-20 08:18:23 +00:00
}
type accountClient struct {
cc * triple . TripleConn
}
type AccountClientImpl struct {
Login func ( ctx context . Context , in * LoginRequest ) ( * TokenInfo , error )
RefreshToken func ( ctx context . Context , in * RefreshTokenRequest ) ( * TokenInfo , error )
Logout func ( ctx context . Context , in * DecryptJwtRequest ) ( * CommonResponse , error )
OffLine func ( ctx context . Context , in * CommonRequest ) ( * CommonResponse , error )
OnlineLog func ( ctx context . Context , in * LoginInfosByUserIdRequest ) ( * LoginLogsResponse , error )
OnlineLogById func ( ctx context . Context , in * OnlineLogByIdRequest ) ( * LoginLog , error )
CheckPwd func ( ctx context . Context , in * CheckPwdRequest ) ( * UpdateResponse , error )
SendMsg func ( ctx context . Context , in * SendMsgRequest ) ( * SendMsgStatusResponse , error )
SendCustomMsg func ( ctx context . Context , in * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error )
SendExCustomMsg func ( ctx context . Context , in * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error )
SendMsgRegister func ( ctx context . Context , in * SendMsgRequest ) ( * SendMsgStatusResponse , error )
CheckMsg func ( ctx context . Context , in * CheckMsgRequest ) ( * SendMsgStatusResponse , error )
SendNewTelNumMsg func ( ctx context . Context , in * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error )
UpdateTelNum func ( ctx context . Context , in * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error )
Authentication func ( ctx context . Context , in * AuthenticationRequest ) ( * RequestStatus , error )
DecryptJwt func ( ctx context . Context , in * DecryptJwtRequest ) ( * DecryptJwtResponse , error )
Info func ( ctx context . Context , in * InfoRequest ) ( * UserInfoResponse , error )
JobNumGetInfo func ( ctx context . Context , in * JobNumGetInfoRequest ) ( * InfoResponse , error )
List func ( ctx context . Context , in * ListRequest ) ( * ListResponse , error )
RandList func ( ctx context . Context , in * ListRequest ) ( * ListResponse , error )
ListByIDs func ( ctx context . Context , in * ListByIDsRequest ) ( * ListResponse , error )
Remove func ( ctx context . Context , in * RemoveRequest ) ( * RemoveResponse , error )
Update func ( ctx context . Context , in * UpdateRequest ) ( * UpdateResponse , error )
UsersByTel func ( ctx context . Context , in * UsersByTelRequest ) ( * ListResponse , error )
2025-02-21 09:49:04 +00:00
UserByTel func ( ctx context . Context , in * UserByTelRequest ) ( * UserInfoResponse , error )
2025-02-20 08:18:23 +00:00
OnlySendMsg func ( ctx context . Context , in * SendMsgRequest ) ( * SendMsgStatusResponse , error )
OnlyCheckMsg func ( ctx context . Context , in * CheckMsgRequest ) ( * SendMsgStatusResponse , error )
MailAccountByNickName func ( ctx context . Context , in * MailAccountByNickNameRequest ) ( * MaiAccountResponse , error )
ListV2 func ( ctx context . Context , in * ListV2Request ) ( * ListResponse , error )
QueryPersonnelWithTheSameName func ( ctx context . Context , in * QueryPersonnelWithTheSameNameRequest ) ( * QueryPersonnelWithTheSameNameResponse , error )
UsersByJobNum func ( ctx context . Context , in * UsersByJobNumRequest ) ( * ListResponse , error )
RealName func ( ctx context . Context , in * RealNameRequest ) ( * RealNameResponse , error )
Register func ( ctx context . Context , in * RegistRequest ) ( * RegisterResponse , error )
UserList func ( ctx context . Context , in * UserListRequest ) ( * UserListResponse , error )
CheckRealName func ( ctx context . Context , in * CheckRealNameRequest ) ( * CheckRealNameResponse , error )
2025-02-21 08:57:10 +00:00
GenerateSliderCaptcha func ( ctx context . Context , in * GenerateSliderCaptchaRequest ) ( * GenerateSliderCaptchaResponse , error )
VerifySliderCaptcha func ( ctx context . Context , in * VerifySliderCaptchaRequest ) ( * VerifySliderCaptchaResponse , error )
SendNationMsg func ( ctx context . Context , in * SendNationMsgRequest ) ( * SendMsgStatusResponse , error )
2025-02-20 08:18:23 +00:00
}
func ( c * AccountClientImpl ) GetDubboStub ( cc * triple . TripleConn ) AccountClient {
return NewAccountClient ( cc )
}
func ( c * AccountClientImpl ) XXX_InterfaceName ( ) string {
return "account.Account"
}
func NewAccountClient ( cc * triple . TripleConn ) AccountClient {
return & accountClient { cc }
}
func ( c * accountClient ) Login ( ctx context . Context , in * LoginRequest , opts ... grpc_go . CallOption ) ( * TokenInfo , common . ErrorWithAttachment ) {
out := new ( TokenInfo )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Login" , in , out )
}
func ( c * accountClient ) RefreshToken ( ctx context . Context , in * RefreshTokenRequest , opts ... grpc_go . CallOption ) ( * TokenInfo , common . ErrorWithAttachment ) {
out := new ( TokenInfo )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RefreshToken" , in , out )
}
func ( c * accountClient ) Logout ( ctx context . Context , in * DecryptJwtRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment ) {
out := new ( CommonResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Logout" , in , out )
}
func ( c * accountClient ) OffLine ( ctx context . Context , in * CommonRequest , opts ... grpc_go . CallOption ) ( * CommonResponse , common . ErrorWithAttachment ) {
out := new ( CommonResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/OffLine" , in , out )
}
func ( c * accountClient ) OnlineLog ( ctx context . Context , in * LoginInfosByUserIdRequest , opts ... grpc_go . CallOption ) ( * LoginLogsResponse , common . ErrorWithAttachment ) {
out := new ( LoginLogsResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/OnlineLog" , in , out )
}
func ( c * accountClient ) OnlineLogById ( ctx context . Context , in * OnlineLogByIdRequest , opts ... grpc_go . CallOption ) ( * LoginLog , common . ErrorWithAttachment ) {
out := new ( LoginLog )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/OnlineLogById" , in , out )
}
func ( c * accountClient ) CheckPwd ( ctx context . Context , in * CheckPwdRequest , opts ... grpc_go . CallOption ) ( * UpdateResponse , common . ErrorWithAttachment ) {
out := new ( UpdateResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckPwd" , in , out )
}
func ( c * accountClient ) SendMsg ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendMsg" , in , out )
}
func ( c * accountClient ) SendCustomMsg ( ctx context . Context , in * SendCustomMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendCustomMsg" , in , out )
}
func ( c * accountClient ) SendExCustomMsg ( ctx context . Context , in * SendCustomMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendExCustomMsg" , in , out )
}
func ( c * accountClient ) SendMsgRegister ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendMsgRegister" , in , out )
}
func ( c * accountClient ) CheckMsg ( ctx context . Context , in * CheckMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckMsg" , in , out )
}
func ( c * accountClient ) SendNewTelNumMsg ( ctx context . Context , in * SendNewTelNumMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendNewTelNumMsg" , in , out )
}
func ( c * accountClient ) UpdateTelNum ( ctx context . Context , in * SendNewTelNumMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UpdateTelNum" , in , out )
}
func ( c * accountClient ) Authentication ( ctx context . Context , in * AuthenticationRequest , opts ... grpc_go . CallOption ) ( * RequestStatus , common . ErrorWithAttachment ) {
out := new ( RequestStatus )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Authentication" , in , out )
}
func ( c * accountClient ) DecryptJwt ( ctx context . Context , in * DecryptJwtRequest , opts ... grpc_go . CallOption ) ( * DecryptJwtResponse , common . ErrorWithAttachment ) {
out := new ( DecryptJwtResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/DecryptJwt" , in , out )
}
func ( c * accountClient ) Info ( ctx context . Context , in * InfoRequest , opts ... grpc_go . CallOption ) ( * UserInfoResponse , common . ErrorWithAttachment ) {
out := new ( UserInfoResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Info" , in , out )
}
func ( c * accountClient ) JobNumGetInfo ( ctx context . Context , in * JobNumGetInfoRequest , opts ... grpc_go . CallOption ) ( * InfoResponse , common . ErrorWithAttachment ) {
out := new ( InfoResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/JobNumGetInfo" , in , out )
}
func ( c * accountClient ) List ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/List" , in , out )
}
func ( c * accountClient ) RandList ( ctx context . Context , in * ListRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RandList" , in , out )
}
func ( c * accountClient ) ListByIDs ( ctx context . Context , in * ListByIDsRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ListByIDs" , in , out )
}
func ( c * accountClient ) Remove ( ctx context . Context , in * RemoveRequest , opts ... grpc_go . CallOption ) ( * RemoveResponse , common . ErrorWithAttachment ) {
out := new ( RemoveResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Remove" , in , out )
}
func ( c * accountClient ) Update ( ctx context . Context , in * UpdateRequest , opts ... grpc_go . CallOption ) ( * UpdateResponse , common . ErrorWithAttachment ) {
out := new ( UpdateResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Update" , in , out )
}
func ( c * accountClient ) UsersByTel ( ctx context . Context , in * UsersByTelRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UsersByTel" , in , out )
}
2025-02-21 09:49:04 +00:00
func ( c * accountClient ) UserByTel ( ctx context . Context , in * UserByTelRequest , opts ... grpc_go . CallOption ) ( * UserInfoResponse , common . ErrorWithAttachment ) {
out := new ( UserInfoResponse )
2025-02-20 08:18:23 +00:00
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UserByTel" , in , out )
}
func ( c * accountClient ) OnlySendMsg ( ctx context . Context , in * SendMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/OnlySendMsg" , in , out )
}
func ( c * accountClient ) OnlyCheckMsg ( ctx context . Context , in * CheckMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/OnlyCheckMsg" , in , out )
}
func ( c * accountClient ) MailAccountByNickName ( ctx context . Context , in * MailAccountByNickNameRequest , opts ... grpc_go . CallOption ) ( * MaiAccountResponse , common . ErrorWithAttachment ) {
out := new ( MaiAccountResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/MailAccountByNickName" , in , out )
}
func ( c * accountClient ) ListV2 ( ctx context . Context , in * ListV2Request , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/ListV2" , in , out )
}
func ( c * accountClient ) QueryPersonnelWithTheSameName ( ctx context . Context , in * QueryPersonnelWithTheSameNameRequest , opts ... grpc_go . CallOption ) ( * QueryPersonnelWithTheSameNameResponse , common . ErrorWithAttachment ) {
out := new ( QueryPersonnelWithTheSameNameResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/QueryPersonnelWithTheSameName" , in , out )
}
func ( c * accountClient ) UsersByJobNum ( ctx context . Context , in * UsersByJobNumRequest , opts ... grpc_go . CallOption ) ( * ListResponse , common . ErrorWithAttachment ) {
out := new ( ListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UsersByJobNum" , in , out )
}
func ( c * accountClient ) RealName ( ctx context . Context , in * RealNameRequest , opts ... grpc_go . CallOption ) ( * RealNameResponse , common . ErrorWithAttachment ) {
out := new ( RealNameResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/RealName" , in , out )
}
func ( c * accountClient ) Register ( ctx context . Context , in * RegistRequest , opts ... grpc_go . CallOption ) ( * RegisterResponse , common . ErrorWithAttachment ) {
out := new ( RegisterResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/Register" , in , out )
}
func ( c * accountClient ) UserList ( ctx context . Context , in * UserListRequest , opts ... grpc_go . CallOption ) ( * UserListResponse , common . ErrorWithAttachment ) {
out := new ( UserListResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/UserList" , in , out )
}
func ( c * accountClient ) CheckRealName ( ctx context . Context , in * CheckRealNameRequest , opts ... grpc_go . CallOption ) ( * CheckRealNameResponse , common . ErrorWithAttachment ) {
out := new ( CheckRealNameResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/CheckRealName" , in , out )
}
2025-02-21 08:57:10 +00:00
func ( c * accountClient ) GenerateSliderCaptcha ( ctx context . Context , in * GenerateSliderCaptchaRequest , opts ... grpc_go . CallOption ) ( * GenerateSliderCaptchaResponse , common . ErrorWithAttachment ) {
out := new ( GenerateSliderCaptchaResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/GenerateSliderCaptcha" , in , out )
}
func ( c * accountClient ) VerifySliderCaptcha ( ctx context . Context , in * VerifySliderCaptchaRequest , opts ... grpc_go . CallOption ) ( * VerifySliderCaptchaResponse , common . ErrorWithAttachment ) {
out := new ( VerifySliderCaptchaResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/VerifySliderCaptcha" , in , out )
}
func ( c * accountClient ) SendNationMsg ( ctx context . Context , in * SendNationMsgRequest , opts ... grpc_go . CallOption ) ( * SendMsgStatusResponse , common . ErrorWithAttachment ) {
out := new ( SendMsgStatusResponse )
interfaceKey := ctx . Value ( constant . InterfaceKey ) . ( string )
return out , c . cc . Invoke ( ctx , "/" + interfaceKey + "/SendNationMsg" , in , out )
}
2025-02-20 08:18:23 +00:00
// AccountServer is the server API for Account service.
// All implementations must embed UnimplementedAccountServer
// for forward compatibility
type AccountServer interface {
Login ( context . Context , * LoginRequest ) ( * TokenInfo , error )
RefreshToken ( context . Context , * RefreshTokenRequest ) ( * TokenInfo , error )
Logout ( context . Context , * DecryptJwtRequest ) ( * CommonResponse , error )
OffLine ( context . Context , * CommonRequest ) ( * CommonResponse , error )
OnlineLog ( context . Context , * LoginInfosByUserIdRequest ) ( * LoginLogsResponse , error )
OnlineLogById ( context . Context , * OnlineLogByIdRequest ) ( * LoginLog , error )
CheckPwd ( context . Context , * CheckPwdRequest ) ( * UpdateResponse , error )
// rpc RegisterOrExist (RegistRequest) returns (RequestStatus) {}
SendMsg ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error )
SendCustomMsg ( context . Context , * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error )
SendExCustomMsg ( context . Context , * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error )
SendMsgRegister ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error )
CheckMsg ( context . Context , * CheckMsgRequest ) ( * SendMsgStatusResponse , error )
SendNewTelNumMsg ( context . Context , * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error )
UpdateTelNum ( context . Context , * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error )
Authentication ( context . Context , * AuthenticationRequest ) ( * RequestStatus , error )
DecryptJwt ( context . Context , * DecryptJwtRequest ) ( * DecryptJwtResponse , error )
Info ( context . Context , * InfoRequest ) ( * UserInfoResponse , error )
JobNumGetInfo ( context . Context , * JobNumGetInfoRequest ) ( * InfoResponse , error )
List ( context . Context , * ListRequest ) ( * ListResponse , error )
RandList ( context . Context , * ListRequest ) ( * ListResponse , error )
ListByIDs ( context . Context , * ListByIDsRequest ) ( * ListResponse , error )
Remove ( context . Context , * RemoveRequest ) ( * RemoveResponse , error )
Update ( context . Context , * UpdateRequest ) ( * UpdateResponse , error )
UsersByTel ( context . Context , * UsersByTelRequest ) ( * ListResponse , error )
2025-02-21 09:49:04 +00:00
UserByTel ( context . Context , * UserByTelRequest ) ( * UserInfoResponse , error )
2025-02-20 08:18:23 +00:00
OnlySendMsg ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error )
OnlyCheckMsg ( context . Context , * CheckMsgRequest ) ( * SendMsgStatusResponse , error )
MailAccountByNickName ( context . Context , * MailAccountByNickNameRequest ) ( * MaiAccountResponse , error )
ListV2 ( context . Context , * ListV2Request ) ( * ListResponse , error )
QueryPersonnelWithTheSameName ( context . Context , * QueryPersonnelWithTheSameNameRequest ) ( * QueryPersonnelWithTheSameNameResponse , error )
UsersByJobNum ( context . Context , * UsersByJobNumRequest ) ( * ListResponse , error )
RealName ( context . Context , * RealNameRequest ) ( * RealNameResponse , error )
Register ( context . Context , * RegistRequest ) ( * RegisterResponse , error )
UserList ( context . Context , * UserListRequest ) ( * UserListResponse , error )
CheckRealName ( context . Context , * CheckRealNameRequest ) ( * CheckRealNameResponse , error )
2025-02-21 08:57:10 +00:00
GenerateSliderCaptcha ( context . Context , * GenerateSliderCaptchaRequest ) ( * GenerateSliderCaptchaResponse , error )
VerifySliderCaptcha ( context . Context , * VerifySliderCaptchaRequest ) ( * VerifySliderCaptchaResponse , error )
SendNationMsg ( context . Context , * SendNationMsgRequest ) ( * SendMsgStatusResponse , error )
2025-02-20 08:18:23 +00:00
mustEmbedUnimplementedAccountServer ( )
}
// UnimplementedAccountServer must be embedded to have forward compatible implementations.
type UnimplementedAccountServer struct {
proxyImpl protocol . Invoker
}
func ( UnimplementedAccountServer ) Login ( context . Context , * LoginRequest ) ( * TokenInfo , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Login not implemented" )
}
func ( UnimplementedAccountServer ) RefreshToken ( context . Context , * RefreshTokenRequest ) ( * TokenInfo , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method RefreshToken not implemented" )
}
func ( UnimplementedAccountServer ) Logout ( context . Context , * DecryptJwtRequest ) ( * CommonResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Logout not implemented" )
}
func ( UnimplementedAccountServer ) OffLine ( context . Context , * CommonRequest ) ( * CommonResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method OffLine not implemented" )
}
func ( UnimplementedAccountServer ) OnlineLog ( context . Context , * LoginInfosByUserIdRequest ) ( * LoginLogsResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method OnlineLog not implemented" )
}
func ( UnimplementedAccountServer ) OnlineLogById ( context . Context , * OnlineLogByIdRequest ) ( * LoginLog , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method OnlineLogById not implemented" )
}
func ( UnimplementedAccountServer ) CheckPwd ( context . Context , * CheckPwdRequest ) ( * UpdateResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CheckPwd not implemented" )
}
func ( UnimplementedAccountServer ) SendMsg ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendMsg not implemented" )
}
func ( UnimplementedAccountServer ) SendCustomMsg ( context . Context , * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendCustomMsg not implemented" )
}
func ( UnimplementedAccountServer ) SendExCustomMsg ( context . Context , * SendCustomMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendExCustomMsg not implemented" )
}
func ( UnimplementedAccountServer ) SendMsgRegister ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendMsgRegister not implemented" )
}
func ( UnimplementedAccountServer ) CheckMsg ( context . Context , * CheckMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CheckMsg not implemented" )
}
func ( UnimplementedAccountServer ) SendNewTelNumMsg ( context . Context , * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendNewTelNumMsg not implemented" )
}
func ( UnimplementedAccountServer ) UpdateTelNum ( context . Context , * SendNewTelNumMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UpdateTelNum not implemented" )
}
func ( UnimplementedAccountServer ) Authentication ( context . Context , * AuthenticationRequest ) ( * RequestStatus , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Authentication not implemented" )
}
func ( UnimplementedAccountServer ) DecryptJwt ( context . Context , * DecryptJwtRequest ) ( * DecryptJwtResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method DecryptJwt not implemented" )
}
func ( UnimplementedAccountServer ) Info ( context . Context , * InfoRequest ) ( * UserInfoResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Info not implemented" )
}
func ( UnimplementedAccountServer ) JobNumGetInfo ( context . Context , * JobNumGetInfoRequest ) ( * InfoResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method JobNumGetInfo not implemented" )
}
func ( UnimplementedAccountServer ) List ( context . Context , * ListRequest ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method List not implemented" )
}
func ( UnimplementedAccountServer ) RandList ( context . Context , * ListRequest ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method RandList not implemented" )
}
func ( UnimplementedAccountServer ) ListByIDs ( context . Context , * ListByIDsRequest ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListByIDs not implemented" )
}
func ( UnimplementedAccountServer ) Remove ( context . Context , * RemoveRequest ) ( * RemoveResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Remove not implemented" )
}
func ( UnimplementedAccountServer ) Update ( context . Context , * UpdateRequest ) ( * UpdateResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Update not implemented" )
}
func ( UnimplementedAccountServer ) UsersByTel ( context . Context , * UsersByTelRequest ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UsersByTel not implemented" )
}
2025-02-21 09:49:04 +00:00
func ( UnimplementedAccountServer ) UserByTel ( context . Context , * UserByTelRequest ) ( * UserInfoResponse , error ) {
2025-02-20 08:18:23 +00:00
return nil , status . Errorf ( codes . Unimplemented , "method UserByTel not implemented" )
}
func ( UnimplementedAccountServer ) OnlySendMsg ( context . Context , * SendMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method OnlySendMsg not implemented" )
}
func ( UnimplementedAccountServer ) OnlyCheckMsg ( context . Context , * CheckMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method OnlyCheckMsg not implemented" )
}
func ( UnimplementedAccountServer ) MailAccountByNickName ( context . Context , * MailAccountByNickNameRequest ) ( * MaiAccountResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method MailAccountByNickName not implemented" )
}
func ( UnimplementedAccountServer ) ListV2 ( context . Context , * ListV2Request ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method ListV2 not implemented" )
}
func ( UnimplementedAccountServer ) QueryPersonnelWithTheSameName ( context . Context , * QueryPersonnelWithTheSameNameRequest ) ( * QueryPersonnelWithTheSameNameResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method QueryPersonnelWithTheSameName not implemented" )
}
func ( UnimplementedAccountServer ) UsersByJobNum ( context . Context , * UsersByJobNumRequest ) ( * ListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UsersByJobNum not implemented" )
}
func ( UnimplementedAccountServer ) RealName ( context . Context , * RealNameRequest ) ( * RealNameResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method RealName not implemented" )
}
func ( UnimplementedAccountServer ) Register ( context . Context , * RegistRequest ) ( * RegisterResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method Register not implemented" )
}
func ( UnimplementedAccountServer ) UserList ( context . Context , * UserListRequest ) ( * UserListResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method UserList not implemented" )
}
func ( UnimplementedAccountServer ) CheckRealName ( context . Context , * CheckRealNameRequest ) ( * CheckRealNameResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method CheckRealName not implemented" )
}
2025-02-21 08:57:10 +00:00
func ( UnimplementedAccountServer ) GenerateSliderCaptcha ( context . Context , * GenerateSliderCaptchaRequest ) ( * GenerateSliderCaptchaResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method GenerateSliderCaptcha not implemented" )
}
func ( UnimplementedAccountServer ) VerifySliderCaptcha ( context . Context , * VerifySliderCaptchaRequest ) ( * VerifySliderCaptchaResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method VerifySliderCaptcha not implemented" )
}
func ( UnimplementedAccountServer ) SendNationMsg ( context . Context , * SendNationMsgRequest ) ( * SendMsgStatusResponse , error ) {
return nil , status . Errorf ( codes . Unimplemented , "method SendNationMsg not implemented" )
}
2025-02-20 08:18:23 +00:00
func ( s * UnimplementedAccountServer ) XXX_SetProxyImpl ( impl protocol . Invoker ) {
s . proxyImpl = impl
}
func ( s * UnimplementedAccountServer ) XXX_GetProxyImpl ( ) protocol . Invoker {
return s . proxyImpl
}
func ( s * UnimplementedAccountServer ) XXX_ServiceDesc ( ) * grpc_go . ServiceDesc {
return & Account_ServiceDesc
}
func ( s * UnimplementedAccountServer ) XXX_InterfaceName ( ) string {
return "account.Account"
}
func ( UnimplementedAccountServer ) mustEmbedUnimplementedAccountServer ( ) { }
// UnsafeAccountServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to AccountServer will
// result in compilation errors.
type UnsafeAccountServer interface {
mustEmbedUnimplementedAccountServer ( )
}
func RegisterAccountServer ( s grpc_go . ServiceRegistrar , srv AccountServer ) {
s . RegisterService ( & Account_ServiceDesc , srv )
}
func _Account_Login_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( LoginRequest )
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 ( "Login" , 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 _Account_RefreshToken_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RefreshTokenRequest )
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 ( "RefreshToken" , 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 _Account_Logout_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( DecryptJwtRequest )
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 ( "Logout" , 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 _Account_OffLine_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CommonRequest )
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 ( "OffLine" , 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 _Account_OnlineLog_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( LoginInfosByUserIdRequest )
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 ( "OnlineLog" , 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 _Account_OnlineLogById_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( OnlineLogByIdRequest )
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 ( "OnlineLogById" , 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 _Account_CheckPwd_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckPwdRequest )
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 ( "CheckPwd" , 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 _Account_SendMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendMsgRequest )
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 ( "SendMsg" , 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 _Account_SendCustomMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendCustomMsgRequest )
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 ( "SendCustomMsg" , 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 _Account_SendExCustomMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendCustomMsgRequest )
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 ( "SendExCustomMsg" , 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 _Account_SendMsgRegister_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendMsgRequest )
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 ( "SendMsgRegister" , 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 _Account_CheckMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckMsgRequest )
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 ( "CheckMsg" , 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 _Account_SendNewTelNumMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendNewTelNumMsgRequest )
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 ( "SendNewTelNumMsg" , 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 _Account_UpdateTelNum_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendNewTelNumMsgRequest )
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 ( "UpdateTelNum" , 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 _Account_Authentication_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( AuthenticationRequest )
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 ( "Authentication" , 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 _Account_DecryptJwt_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( DecryptJwtRequest )
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 ( "DecryptJwt" , 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 _Account_Info_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( InfoRequest )
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 ( "Info" , 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 _Account_JobNumGetInfo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( JobNumGetInfoRequest )
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 ( "JobNumGetInfo" , 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 _Account_List_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListRequest )
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 ( "List" , 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 _Account_RandList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListRequest )
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 ( "RandList" , 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 _Account_ListByIDs_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListByIDsRequest )
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 ( "ListByIDs" , 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 _Account_Remove_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RemoveRequest )
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 ( "Remove" , 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 _Account_Update_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UpdateRequest )
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 ( "Update" , 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 _Account_UsersByTel_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UsersByTelRequest )
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 ( "UsersByTel" , 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 _Account_UserByTel_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UserByTelRequest )
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 ( "UserByTel" , 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 _Account_OnlySendMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendMsgRequest )
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 ( "OnlySendMsg" , 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 _Account_OnlyCheckMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckMsgRequest )
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 ( "OnlyCheckMsg" , 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 _Account_MailAccountByNickName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( MailAccountByNickNameRequest )
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 ( "MailAccountByNickName" , 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 _Account_ListV2_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( ListV2Request )
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 ( "ListV2" , 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 _Account_QueryPersonnelWithTheSameName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( QueryPersonnelWithTheSameNameRequest )
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 ( "QueryPersonnelWithTheSameName" , 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 _Account_UsersByJobNum_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UsersByJobNumRequest )
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 ( "UsersByJobNum" , 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 _Account_RealName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RealNameRequest )
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 ( "RealName" , 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 _Account_Register_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RegistRequest )
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 ( "Register" , 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 _Account_UserList_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( UserListRequest )
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 ( "UserList" , 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 _Account_CheckRealName_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( CheckRealNameRequest )
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 ( "CheckRealName" , 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 )
}
2025-02-21 08:57:10 +00:00
func _Account_GenerateSliderCaptcha_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( GenerateSliderCaptchaRequest )
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 ( "GenerateSliderCaptcha" , 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 _Account_VerifySliderCaptcha_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( VerifySliderCaptchaRequest )
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 ( "VerifySliderCaptcha" , 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 _Account_SendNationMsg_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc_go . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( SendNationMsgRequest )
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 ( "SendNationMsg" , 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 )
}
2025-02-20 08:18:23 +00:00
// Account_ServiceDesc is the grpc_go.ServiceDesc for Account service.
// It's only intended for direct use with grpc_go.RegisterService,
// and not to be introspected or modified (even as a copy)
var Account_ServiceDesc = grpc_go . ServiceDesc {
ServiceName : "account.Account" ,
HandlerType : ( * AccountServer ) ( nil ) ,
Methods : [ ] grpc_go . MethodDesc {
{
MethodName : "Login" ,
Handler : _Account_Login_Handler ,
} ,
{
MethodName : "RefreshToken" ,
Handler : _Account_RefreshToken_Handler ,
} ,
{
MethodName : "Logout" ,
Handler : _Account_Logout_Handler ,
} ,
{
MethodName : "OffLine" ,
Handler : _Account_OffLine_Handler ,
} ,
{
MethodName : "OnlineLog" ,
Handler : _Account_OnlineLog_Handler ,
} ,
{
MethodName : "OnlineLogById" ,
Handler : _Account_OnlineLogById_Handler ,
} ,
{
MethodName : "CheckPwd" ,
Handler : _Account_CheckPwd_Handler ,
} ,
{
MethodName : "SendMsg" ,
Handler : _Account_SendMsg_Handler ,
} ,
{
MethodName : "SendCustomMsg" ,
Handler : _Account_SendCustomMsg_Handler ,
} ,
{
MethodName : "SendExCustomMsg" ,
Handler : _Account_SendExCustomMsg_Handler ,
} ,
{
MethodName : "SendMsgRegister" ,
Handler : _Account_SendMsgRegister_Handler ,
} ,
{
MethodName : "CheckMsg" ,
Handler : _Account_CheckMsg_Handler ,
} ,
{
MethodName : "SendNewTelNumMsg" ,
Handler : _Account_SendNewTelNumMsg_Handler ,
} ,
{
MethodName : "UpdateTelNum" ,
Handler : _Account_UpdateTelNum_Handler ,
} ,
{
MethodName : "Authentication" ,
Handler : _Account_Authentication_Handler ,
} ,
{
MethodName : "DecryptJwt" ,
Handler : _Account_DecryptJwt_Handler ,
} ,
{
MethodName : "Info" ,
Handler : _Account_Info_Handler ,
} ,
{
MethodName : "JobNumGetInfo" ,
Handler : _Account_JobNumGetInfo_Handler ,
} ,
{
MethodName : "List" ,
Handler : _Account_List_Handler ,
} ,
{
MethodName : "RandList" ,
Handler : _Account_RandList_Handler ,
} ,
{
MethodName : "ListByIDs" ,
Handler : _Account_ListByIDs_Handler ,
} ,
{
MethodName : "Remove" ,
Handler : _Account_Remove_Handler ,
} ,
{
MethodName : "Update" ,
Handler : _Account_Update_Handler ,
} ,
{
MethodName : "UsersByTel" ,
Handler : _Account_UsersByTel_Handler ,
} ,
{
MethodName : "UserByTel" ,
Handler : _Account_UserByTel_Handler ,
} ,
{
MethodName : "OnlySendMsg" ,
Handler : _Account_OnlySendMsg_Handler ,
} ,
{
MethodName : "OnlyCheckMsg" ,
Handler : _Account_OnlyCheckMsg_Handler ,
} ,
{
MethodName : "MailAccountByNickName" ,
Handler : _Account_MailAccountByNickName_Handler ,
} ,
{
MethodName : "ListV2" ,
Handler : _Account_ListV2_Handler ,
} ,
{
MethodName : "QueryPersonnelWithTheSameName" ,
Handler : _Account_QueryPersonnelWithTheSameName_Handler ,
} ,
{
MethodName : "UsersByJobNum" ,
Handler : _Account_UsersByJobNum_Handler ,
} ,
{
MethodName : "RealName" ,
Handler : _Account_RealName_Handler ,
} ,
{
MethodName : "Register" ,
Handler : _Account_Register_Handler ,
} ,
{
MethodName : "UserList" ,
Handler : _Account_UserList_Handler ,
} ,
{
MethodName : "CheckRealName" ,
Handler : _Account_CheckRealName_Handler ,
} ,
2025-02-21 08:57:10 +00:00
{
MethodName : "GenerateSliderCaptcha" ,
Handler : _Account_GenerateSliderCaptcha_Handler ,
} ,
{
MethodName : "VerifySliderCaptcha" ,
Handler : _Account_VerifySliderCaptcha_Handler ,
} ,
{
MethodName : "SendNationMsg" ,
Handler : _Account_SendNationMsg_Handler ,
} ,
2025-02-20 08:18:23 +00:00
} ,
Streams : [ ] grpc_go . StreamDesc { } ,
Metadata : "api/account/account.proto" ,
}