application

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsUseCases

type AccountsUseCases struct {
	AccountsRepository definitions.AccountsRepository
	PasswordsHasher    definitions.PasswordsHasher
}

func (*AccountsUseCases) GetAdmins added in v0.8.0

func (useCases *AccountsUseCases) GetAdmins() ([]*entities.User, error)

func (*AccountsUseCases) RegisterAdmin added in v0.2.0

func (useCases *AccountsUseCases) RegisterAdmin(dto dtos.RegisterUserDTO) error

func (*AccountsUseCases) RegisterStudent

func (useCases *AccountsUseCases) RegisterStudent(dto dtos.RegisterUserDTO) error

func (*AccountsUseCases) RegisterTeacher added in v0.5.0

func (useCases *AccountsUseCases) RegisterTeacher(dto dtos.RegisterUserDTO) error

func (*AccountsUseCases) SearchStudentsByFullName added in v0.15.0

func (useCases *AccountsUseCases) SearchStudentsByFullName(fullName string) ([]*entities.User, error)

func (*AccountsUseCases) UpdatePassword added in v0.46.0

func (useCases *AccountsUseCases) UpdatePassword(dto dtos.UpdatePasswordDTO) error

func (*AccountsUseCases) UpdateProfile added in v0.48.0

func (useCases *AccountsUseCases) UpdateProfile(dto dtos.UpdateAccountDTO) error

Jump to

Keyboard shortcuts

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