Documentation ¶
Index ¶
- type AddAccountController
- type AddAccountRequest
- type AddBookController
- type AddUserController
- type DeleteUserController
- type GetBookByIdController
- type GetUserByIdController
- type ListAccountsController
- type ListBooksController
- type ListUsersController
- type RemoveAccountController
- type RemoveBookController
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 ¶
func (c *AddAccountController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse
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 ¶
func (c *AddBookController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse
type AddUserController ¶
type AddUserController struct {
// contains filtered or unexported fields
}
func NewAddUserController ¶
func NewAddUserController(service usecases.AddUserUseCase, validator protocols.Validator) *AddUserController
func (*AddUserController) Handle ¶
func (c *AddUserController) Handle(request *protocols.HttpRequest) *protocols.HttpResponse
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 NewGetUserByIdController ¶
func NewGetUserByIdController(s usecases.GetUserByIdUseCase) *GetUserByIdController
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 ¶
func (c *ListAccountsController) Handle(req *protocols.HttpRequest) *protocols.HttpResponse
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
Click to show internal directories.
Click to hide internal directories.