logic

package
v0.0.0-...-ec24a78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginLogic

type LoginLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.LoginRequest) (resp *types.LoginResponse, err error)

type RegisterLogic

type RegisterLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRegisterLogic

func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic

func (*RegisterLogic) Register

func (l *RegisterLogic) Register(req *types.RegisterRequest) (resp *types.RegisterResponse, err error)

type UserInfoLogic

type UserInfoLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUserInfoLogic

func NewUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UserInfoLogic

func (*UserInfoLogic) UserInfo

func (l *UserInfoLogic) UserInfo() (resp *types.UserInfoResponse, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL