definitions

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsRepository

type AccountsRepository interface {
	SaveStudent(dto dtos.RegisterUserDTO) error
	SaveAdmin(dto dtos.RegisterUserDTO) error
	SaveTeacher(dto dtos.RegisterUserDTO) error

	GetUserByUUID(uuid string) (*entities.User, error)
	GetUserByEmail(email string) (*entities.User, error)
	GetUserByInstitutionalId(institutionalId string) (*entities.User, error)

	GetAdmins() ([]*entities.User, error)

	SearchStudentsByFullName(fullName string) ([]*entities.User, error)
}

type PasswordsHasher

type PasswordsHasher interface {
	HashPassword(password string) (string, error)
	ComparePasswords(password string, hashedPassword string) (bool, error)
}

Jump to

Keyboard shortcuts

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