application

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 domain.AccountsRepository
	PasswordsHasher    domain.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

Jump to

Keyboard shortcuts

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