handlers

package
v0.0.0-...-54312f5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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