usecases

package
v0.0.0-...-caf001f Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccountUseCase

type AddAccountUseCase interface {
	AddAccount(input *domaindto.AddAccountInputDTO) (*domaindto.AddAccountOutputDTO, error)
}

type AddBookUseCase

type AddBookUseCase interface {
	AddBook(input *domaindto.AddBookUseCaseInputDTO) (*domaindto.AddBookUseCaseOutputDTO, error)
}

type AddUserUseCase

type AddUserUseCase interface {
	Add(input *domaindto.AddUserInputDTO) (*domaindto.AddUserOutputDTO, error)
}

type DeleteUserUseCase

type DeleteUserUseCase interface {
	DeleteUser(userId string) (string, error)
}

type GetBookByIdUseCase

type GetBookByIdUseCase interface {
	GetBookById(bookId string) (*entities.Book, error)
}

type GetUserByIdUseCase

type GetUserByIdUseCase interface {
	GetUserById(userId string) (*domaindto.GetUserByIdUseCaseOutputDTO, error)
}

type ListAccountsUseCase

type ListAccountsUseCase interface {
	ListAccounts() []domaindto.ListAccountsOutputDTO
}

type ListBooksUseCase

type ListBooksUseCase interface {
	ListBooks() ([]*entities.Book, error)
}

type ListUsersUseCase

type ListUsersUseCase interface {
	List() []*domaindto.ListUsersDTO
}

type RemoveAccountUseCase

type RemoveAccountUseCase interface {
	RemoveAccount(accountId string) (string, error)
}

type RemoveBookUseCase

type RemoveBookUseCase interface {
	RemoveBook(bookId string) (*domaindto.RemoveBookUseCaseOutputDTO, error)
}

Jump to

Keyboard shortcuts

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