usecases

package
v0.0.0-...-e03766a Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 8 Imported by: 0

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 (*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)

Jump to

Keyboard shortcuts

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