Documentation ¶
Index ¶
- func CreateCustomer(c *fiber.Ctx) error
- func CreateInventory(c *fiber.Ctx) error
- func CreateItem(c *fiber.Ctx) error
- func CreateUser(c *fiber.Ctx) error
- func DefaultRoute(c *fiber.Ctx) error
- func DeleteUser(c *fiber.Ctx) error
- func GetCustomers(c *fiber.Ctx) error
- func GetCustomersItems(c *fiber.Ctx) error
- func GetInventories(c *fiber.Ctx) error
- func GetItems(c *fiber.Ctx) error
- func GetUser(c *fiber.Ctx) error
- func GetUsers(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func NotFoundRoute(c *fiber.Ctx) error
- func SetupRoutes(app *fiber.App)
- func UpdateUser(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomer ¶
func CreateCustomer(c *fiber.Ctx) error
CreateCustomer handler for creating a new customer
func CreateInventory ¶
func CreateInventory(c *fiber.Ctx) error
CreateInventory handler for creating a new inventory
func DefaultRoute ¶
func DefaultRoute(c *fiber.Ctx) error
DefaultRoute handler for the root endpoint
func GetCustomers ¶
func GetCustomers(c *fiber.Ctx) error
func GetCustomersItems ¶
func GetCustomersItems(c *fiber.Ctx) error
GetCustomersItems handler to fetch all inventories and their items for customers
func GetInventories ¶
func GetInventories(c *fiber.Ctx) error
GetInventories handler to fetch all inventories
func NotFoundRoute ¶
func NotFoundRoute(c *fiber.Ctx) error
NotFoundRoute handler for undefined routes
func SetupRoutes ¶
func SetupRoutes(app *fiber.App)
SetupRoutes defines all the routes for the application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.