controllers

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAccountController

type AddAccountController struct {
	// contains filtered or unexported fields
}

func NewAddAccountController

func NewAddAccountController(useCase usecases.AddAccountUseCase, validator protocols.Validator) *AddAccountController

func (*AddAccountController) Handle

type AddAccountRequest

type AddAccountRequest struct {
	Body *domaindto.AddAccountInputDTO
}

type AddBookController

type AddBookController struct {
	// contains filtered or unexported fields
}

func NewAddBookController

func NewAddBookController(service usecases.AddBookUseCase, validator protocols.Validator) *AddBookController

func (*AddBookController) Handle

type AddUserController

type AddUserController struct {
	// contains filtered or unexported fields
}

func NewAddUserController

func NewAddUserController(service usecases.AddUserUseCase, validator protocols.Validator) *AddUserController

func (*AddUserController) Handle

type DeleteUserController

type DeleteUserController struct {
	// contains filtered or unexported fields
}

func NewDeleteUserController

func NewDeleteUserController(service usecases.DeleteUserUseCase) *DeleteUserController

func (*DeleteUserController) Handle

func (controller *DeleteUserController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type GetBookByIdController

type GetBookByIdController struct {
	// contains filtered or unexported fields
}

func NewGetBookByIdController

func NewGetBookByIdController(service usecases.GetBookByIdUseCase) *GetBookByIdController

func (*GetBookByIdController) Handle

func (controller *GetBookByIdController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type GetUserByIdController

type GetUserByIdController struct {
	// contains filtered or unexported fields
}

func (*GetUserByIdController) Handle

func (controller *GetUserByIdController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type ListAccountsController

type ListAccountsController struct {
	// contains filtered or unexported fields
}

func NewListAccountsController

func NewListAccountsController(service usecases.ListAccountsUseCase) *ListAccountsController

func (*ListAccountsController) Handle

type ListBooksController

type ListBooksController struct {
	// contains filtered or unexported fields
}

func NewListBooksController

func NewListBooksController(service usecases.ListBooksUseCase) *ListBooksController

func (*ListBooksController) Handle

func (controller *ListBooksController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type ListUsersController

type ListUsersController struct {
	// contains filtered or unexported fields
}

func NewListUsersController

func NewListUsersController(service usecases.ListUsersUseCase) *ListUsersController

func (*ListUsersController) Handle

func (controller *ListUsersController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type RemoveAccountController

type RemoveAccountController struct {
	// contains filtered or unexported fields
}

func NewRemoveAccountController

func NewRemoveAccountController(useCase usecases.RemoveAccountUseCase) *RemoveAccountController

func (*RemoveAccountController) Handle

func (controller *RemoveAccountController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

type RemoveBookController

type RemoveBookController struct {
	// contains filtered or unexported fields
}

func NewRemoveBookController

func NewRemoveBookController(service usecases.RemoveBookUseCase) *RemoveBookController

func (*RemoveBookController) Handle

func (controller *RemoveBookController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse

Jump to

Keyboard shortcuts

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