handlers

package
v0.0.0-...-ade4240 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BorrowBook

func BorrowBook(ctx *fiber.Ctx) error

Borrow a book for a certain Period of time(for now it's a week).

func ReturnBorrowedBook

func ReturnBorrowedBook(ctx *fiber.Ctx) error

Returns a borrowed book.

func ShareBook

func ShareBook(ctx *fiber.Ctx) error

Share a book for others to view and borrow.

func ViewBorrowedBooks

func ViewBorrowedBooks(ctx *fiber.Ctx) error

View all the borrowed books.

func ViewSharedBooks

func ViewSharedBooks(ctx *fiber.Ctx) error

View all the books that are currently in share.

Types

This section is empty.

Jump to

Keyboard shortcuts

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