handlers

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthMiddleware

func AuthMiddleware(requiredRole string) fiber.Handler

AuthMiddleware handles token validation and refreshing

func ComicHandler

func ComicHandler(c *fiber.Ctx) error

ComicHandler processes requests to serve comic book pages based on the provided query parameters.

func CreateUserHandler

func CreateUserHandler(c *fiber.Ctx) error

func HandleAddFolder

func HandleAddFolder(c *fiber.Ctx) error

func HandleAdmin

func HandleAdmin(c *fiber.Ctx) error

func HandleCancelEdit

func HandleCancelEdit(c *fiber.Ctx) error

func HandleChapter

func HandleChapter(c *fiber.Ctx) error

func HandleCreateLibrary

func HandleCreateLibrary(c *fiber.Ctx) error

func HandleDeleteLibrary

func HandleDeleteLibrary(c *fiber.Ctx) error

func HandleEditLibrary

func HandleEditLibrary(c *fiber.Ctx) error

func HandleEditMetadataManga

func HandleEditMetadataManga(c *fiber.Ctx) error

func HandleHome

func HandleHome(c *fiber.Ctx) error

func HandleManga

func HandleManga(c *fiber.Ctx) error

func HandleMangaSearch

func HandleMangaSearch(c *fiber.Ctx) error

func HandleMangas

func HandleMangas(c *fiber.Ctx) error

func HandleNotFound

func HandleNotFound(c *fiber.Ctx) error

func HandleRemoveFolder

func HandleRemoveFolder(c *fiber.Ctx) error

func HandleUpdateLibrary

func HandleUpdateLibrary(c *fiber.Ctx) error

func HandleUpdateMetadataManga

func HandleUpdateMetadataManga(c *fiber.Ctx) error

func HandleView

func HandleView(c *fiber.Ctx, content templ.Component) error

func Initialize

func Initialize(app *fiber.App, cacheDirectory string)

func LoginHandler

func LoginHandler(c *fiber.Ctx) error

func LoginUserHandler

func LoginUserHandler(c *fiber.Ctx) error

func LogoutHandler

func LogoutHandler(c *fiber.Ctx) error

func RegisterHandler

func RegisterHandler(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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