user

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinessRules

type BusinessRules struct {
	UniqueID   interfaces.InterfaceUID      `json:"-"`
	Password   interfaces.InterfacePassword `json:"-"`
	DataSource interfaces.InterfaceUser     `json:"-"`
}

func (*BusinessRules) GetByEmail

func (e *BusinessRules) GetByEmail(mail string) (length int, user viewUser.User, err error)

GetByEmail (Português):

func (*BusinessRules) Set

func (e *BusinessRules) Set(idMenu string, admin int, name, nickName, mail, password string) (err error)

func (*BusinessRules) VerifyPasswordByEmail

func (e *BusinessRules) VerifyPasswordByEmail(mail, password string) (match bool, err error)

Jump to

Keyboard shortcuts

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