user

package
v0.0.0-...-0583c98 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsrService

type UsrService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService() *UsrService

func (*UsrService) ChangePassword

func (s *UsrService) ChangePassword(id uint, oldPasswd, newPasswd string) (err error)

func (*UsrService) GetUserIno

func (s *UsrService) GetUserIno(uuid uuid.UUID) (*model.User, error)

func (*UsrService) Login

func (s *UsrService) Login(usrname, passwd string) (*model.User, error)

func (*UsrService) PreRegister

func (s *UsrService) PreRegister(tar *model.User) (string, error)

func (*UsrService) SendVerifyEmail

func (s *UsrService) SendVerifyEmail(tar *model.User, token string) error

func (*UsrService) VerifyRegister

func (s *UsrService) VerifyRegister(token string) (bool, error)

Jump to

Keyboard shortcuts

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