Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IUserSrv ¶
type IUserSrv interface { MobileLogin(ctx context.Context, mobile, password string) (*UserDTO, error) Register(ctx context.Context, mobile, password string) (*UserDTO, error) Update(ctx context.Context, dto *UserDTO) error Get(ctx context.Context, userId uint) (*UserDTO, error) GetByMobile(ctx context.Context, mobile string) (*UserDTO, error) CheckPassword(ctx context.Context, password, EncryptedPassword string) (bool, error) }
func NewUserSrv ¶
func NewUserSrv(iu du.IUserData, jwtOps *options.JwtOptions) IUserSrv
type UserDTOList ¶
Click to show internal directories.
Click to hide internal directories.