Documentation ¶
Index ¶
- type CheckTokenLogic
- type GetUserInfoLogic
- type LoginLogic
- type ModifyUserInfoLogic
- type Register2Logic
- func (l *Register2Logic) CheckInfo(in *user.Register2Req) (err error)
- func (l *Register2Logic) CheckPwd(in *user.Register2Req) error
- func (l *Register2Logic) CheckUserCore(in *user.Register2Req) (*model.UserCore, error)
- func (l *Register2Logic) CheckUserName(in *user.Register2Req) error
- func (l *Register2Logic) Register2(in *user.Register2Req) (*user.Register2Resp, error)
- type RegisterCoreLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckTokenLogic ¶
func NewCheckTokenLogic ¶
func NewCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckTokenLogic
func (*CheckTokenLogic) CheckToken ¶
func (l *CheckTokenLogic) CheckToken(in *user.CheckTokenReq) (*user.CheckTokenResp, error)
type GetUserInfoLogic ¶
func NewGetUserInfoLogic ¶
func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic
func (*GetUserInfoLogic) GetUserInfo ¶
func (l *GetUserInfoLogic) GetUserInfo(in *user.GetUserInfoReq) (*user.GetUserInfoResp, error)
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
func (*LoginLogic) GetUserCore ¶
type ModifyUserInfoLogic ¶
func NewModifyUserInfoLogic ¶
func NewModifyUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModifyUserInfoLogic
func (*ModifyUserInfoLogic) Handle ¶
func (l *ModifyUserInfoLogic) Handle(key, value string) error
func (*ModifyUserInfoLogic) HandleUserName ¶
func (l *ModifyUserInfoLogic) HandleUserName(value string) error
func (*ModifyUserInfoLogic) ModifyUserInfo ¶
func (l *ModifyUserInfoLogic) ModifyUserInfo(in *user.ModifyUserInfoReq) (*user.NilResp, error)
type Register2Logic ¶
func NewRegister2Logic ¶
func NewRegister2Logic(ctx context.Context, svcCtx *svc.ServiceContext) *Register2Logic
func (*Register2Logic) CheckInfo ¶
func (l *Register2Logic) CheckInfo(in *user.Register2Req) (err error)
func (*Register2Logic) CheckPwd ¶
func (l *Register2Logic) CheckPwd(in *user.Register2Req) error
func (*Register2Logic) CheckUserCore ¶
func (l *Register2Logic) CheckUserCore(in *user.Register2Req) (*model.UserCore, error)
func (*Register2Logic) CheckUserName ¶
func (l *Register2Logic) CheckUserName(in *user.Register2Req) error
func (*Register2Logic) Register2 ¶
func (l *Register2Logic) Register2(in *user.Register2Req) (*user.Register2Resp, error)
type RegisterCoreLogic ¶
func NewRegisterCoreLogic ¶
func NewRegisterCoreLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterCoreLogic
func (*RegisterCoreLogic) RegisterCore ¶
func (l *RegisterCoreLogic) RegisterCore(in *user.RegisterCoreReq) (*user.RegisterCoreResp, error)
Click to show internal directories.
Click to hide internal directories.