Documentation ¶
Index ¶
- type AccountsUseCases
- func (useCases *AccountsUseCases) GetAdmins() ([]*entities.User, error)
- func (useCases *AccountsUseCases) RegisterAdmin(dto dtos.RegisterUserDTO) error
- func (useCases *AccountsUseCases) RegisterStudent(dto dtos.RegisterUserDTO) error
- func (useCases *AccountsUseCases) RegisterTeacher(dto dtos.RegisterUserDTO) error
- func (useCases *AccountsUseCases) SearchStudentsByFullName(fullName string) ([]*entities.User, error)
- func (useCases *AccountsUseCases) UpdatePassword(dto dtos.UpdatePasswordDTO) error
- func (useCases *AccountsUseCases) UpdateProfile(dto dtos.UpdateAccountDTO) error
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
Click to show internal directories.
Click to hide internal directories.