// Code generated by goctl. DO NOT EDIT. // goctl 1.10.1 // Source: user.proto package server import ( "context" "lone-services/rpc/user/pb" "lone-services/services/user/internal/logic" "lone-services/services/user/internal/svc" ) type UserServer struct { svcCtx *svc.ServiceContext user.UnimplementedUserServer } func NewUserServer(svcCtx *svc.ServiceContext) *UserServer { return &UserServer{ svcCtx: svcCtx, } } func (s *UserServer) Login(ctx context.Context, in *user.LoginReq) (*user.Response, error) { l := logic.NewLoginLogic(ctx, s.svcCtx) return l.Login(in) } func (s *UserServer) Info(ctx context.Context, in *user.InfoReq) (*user.Response, error) { l := logic.NewInfoLogic(ctx, s.svcCtx) return l.Info(in) } func (s *UserServer) Password(ctx context.Context, in *user.PasswordReq) (*user.Response, error) { l := logic.NewPasswordLogic(ctx, s.svcCtx) return l.Password(in) } func (s *UserServer) GetOpenid(ctx context.Context, in *user.GetOpenidReq) (*user.Response, error) { l := logic.NewGetOpenidLogic(ctx, s.svcCtx) return l.GetOpenid(in) } func (s *UserServer) Client(ctx context.Context, in *user.ClientReq) (*user.Response, error) { l := logic.NewClientLogic(ctx, s.svcCtx) return l.Client(in) } func (s *UserServer) UserItems(ctx context.Context, in *user.UserItemsReq) (*user.Response, error) { l := logic.NewUserItemsLogic(ctx, s.svcCtx) return l.UserItems(in) } func (s *UserServer) UserStatus(ctx context.Context, in *user.UserStatusReq) (*user.Response, error) { l := logic.NewUserStatusLogic(ctx, s.svcCtx) return l.UserStatus(in) } func (s *UserServer) InternalCreate(ctx context.Context, in *user.InternalCreateReq) (*user.InternalCreateData, error) { l := logic.NewInternalCreateLogic(ctx, s.svcCtx) return l.InternalCreate(in) } func (s *UserServer) InternalCheckCreate(ctx context.Context, in *user.InternalCheckCreateReq) (*user.InternalCheckCreateData, error) { l := logic.NewInternalCheckCreateLogic(ctx, s.svcCtx) return l.InternalCheckCreate(in) } func (s *UserServer) InternalCheckUpdate(ctx context.Context, in *user.InternalCheckUpdateReq) (*user.InternalCheckUpdateData, error) { l := logic.NewInternalCheckUpdateLogic(ctx, s.svcCtx) return l.InternalCheckUpdate(in) } func (s *UserServer) InternalUpdate(ctx context.Context, in *user.InternalUpdateReq) (*user.InternalUpdateData, error) { l := logic.NewInternalUpdateLogic(ctx, s.svcCtx) return l.InternalUpdate(in) } func (s *UserServer) InternalUsersByIds(ctx context.Context, in *user.InternalUsersByIdsReq) (*user.InternalUsersByIdsData, error) { l := logic.NewInternalUsersByIdsLogic(ctx, s.svcCtx) return l.InternalUsersByIds(in) } func (s *UserServer) InternalUpdateMobile(ctx context.Context, in *user.InternalUpdateMobileReq) (*user.InternalUpdateMobileData, error) { l := logic.NewInternalUpdateMobileLogic(ctx, s.svcCtx) return l.InternalUpdateMobile(in) } func (s *UserServer) InternalRevokeBizClient(ctx context.Context, in *user.InternalRevokeBizClientReq) (*user.InternalRevokeBizClientData, error) { l := logic.NewInternalRevokeBizClientLogic(ctx, s.svcCtx) return l.InternalRevokeBizClient(in) } func (s *UserServer) InternalGetUserInfo(ctx context.Context, in *user.InternalGetUserInfoReq) (*user.InternalGetUserInfoData, error) { l := logic.NewInternalGetUserInfoLogic(ctx, s.svcCtx) return l.InternalGetUserInfo(in) }