Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSessionUseCase ¶
type CreateSessionUseCase struct {
// contains filtered or unexported fields
}
func NewCreateSessionUseCase ¶
func NewCreateSessionUseCase( repository repositories.UsersRepository, encrypter providers.EncrypterProvider, session providers.SessionProvider, cache providers.CacheProvider, ) (*CreateSessionUseCase, *shared.Error)
func (*CreateSessionUseCase) Execute ¶
func (createSessionUseCase *CreateSessionUseCase) Execute( data *definitions.CreateSessionDTO, ) (*definitions.CreateSessionResult, *shared.Error)
type CreateUserUseCase ¶
type CreateUserUseCase struct {
// contains filtered or unexported fields
}
func NewCreateUserUseCase ¶
func NewCreateUserUseCase( repository repositories.UsersRepository, encrypter providers.EncrypterProvider, ) (*CreateUserUseCase, *shared.Error)
func (*CreateUserUseCase) Execute ¶
func (createUserUseCase *CreateUserUseCase) Execute( data *definitions.CreateUserDTO, ) (*definitions.CreateUserResult, *shared.Error)
Click to show internal directories.
Click to hide internal directories.