Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoffeeHandlerInterface ¶
type CoffeeHandlerInterface interface { GetCoffees(ctx *fiber.Ctx) error GetCoffeeById(ctx *fiber.Ctx) error GetCoffeeByName(ctx *fiber.Ctx) error CreateNewCoffee(ctx *fiber.Ctx) error DeleteCoffeeById(ctx *fiber.Ctx) error }
func NewCoffeeHandler ¶
func NewCoffeeHandler(coffeeService services.CoffeeServiceInterface) CoffeeHandlerInterface
type HouseHandlerInterface ¶
type HouseHandlerInterface interface { GetHouses(ctx *fiber.Ctx) error GetHouseById(ctx *fiber.Ctx) error GetHouseByName(ctx *fiber.Ctx) error CreateNewHouse(ctx *fiber.Ctx) error DeleteHouseById(ctx *fiber.Ctx) error }
func NewHouseHandler ¶
func NewHouseHandler(houseService services.HouseServiceInterface) HouseHandlerInterface
type PayHandlerInterface ¶
type PayHandlerInterface interface { GetAll(ctx *fiber.Ctx) error GetById(ctx *fiber.Ctx) error GetAllByUserId(ctx *fiber.Ctx) error GetAllByHouseId(ctx *fiber.Ctx) error CreatePayment(ctx *fiber.Ctx) error DeletePayment(ctx *fiber.Ctx) error }
func NewPayHandler ¶
func NewPayHandler(payService services.PayServiceInterface) PayHandlerInterface
type UserHandlerInterface ¶
type UserHandlerInterface interface { GetAll(ctx *fiber.Ctx) error GetById(ctx *fiber.Ctx) error GetByName(ctx *fiber.Ctx) error GetByEmail(ctx *fiber.Ctx) error CreateUser(ctx *fiber.Ctx) error DeleteUser(ctx *fiber.Ctx) error }
func NewUserHandler ¶
func NewUserHandler(userService services.UserServiceInterface) UserHandlerInterface
Click to show internal directories.
Click to hide internal directories.