application

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: AGPL-3.0 Imports: 5 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)

Jump to

Keyboard shortcuts

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