Documentation ¶
Index ¶
- type AuthorHandler
- func (h *AuthorHandler) Create(ctx *fiber.Ctx) error
- func (h *AuthorHandler) Delete(ctx *fiber.Ctx) error
- func (h *AuthorHandler) GetAll(ctx *fiber.Ctx) error
- func (h *AuthorHandler) GetByID(ctx *fiber.Ctx) error
- func (h *AuthorHandler) Register(route fiber.Router)
- func (h *AuthorHandler) Update(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorHandler ¶
type AuthorHandler struct {
// contains filtered or unexported fields
}
func NewAuthorHandler ¶
func NewAuthorHandler(repo domain.IAuthorRepository) *AuthorHandler
func ProvideAuthorHandler ¶
func ProvideAuthorHandler(repo domain.IAuthorRepository) *AuthorHandler
func (*AuthorHandler) Create ¶
func (h *AuthorHandler) Create(ctx *fiber.Ctx) error
func (*AuthorHandler) Delete ¶
func (h *AuthorHandler) Delete(ctx *fiber.Ctx) error
func (*AuthorHandler) GetAll ¶
func (h *AuthorHandler) GetAll(ctx *fiber.Ctx) error
func (*AuthorHandler) GetByID ¶
func (h *AuthorHandler) GetByID(ctx *fiber.Ctx) error
func (*AuthorHandler) Register ¶
func (h *AuthorHandler) Register(route fiber.Router)
func (*AuthorHandler) Update ¶
func (h *AuthorHandler) Update(ctx *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.