handler

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler interface {
	LoginHandler() fiber.Handler
	CallbackHandler() fiber.Handler
	LogoutHandler() fiber.Handler

	LoginView() fiber.Handler
	LogoutCallbackHandler() fiber.Handler
}

func NewAuthHandler

func NewAuthHandler(sess *session.Session, authenticator *auth.Authenticator, authAudience, authCookieKey string) AuthHandler

type DashboardHandler

type DashboardHandler interface {
	UploadHandler() fiber.Handler
	DownloadHandler() fiber.Handler
	DeleteFileHandler() fiber.Handler

	DashboardView() fiber.Handler
	FilesView() fiber.Handler
}

DashboardHandler is an interface that defines the methods for the dashboard handler

func NewDashboardHandler

func NewDashboardHandler(s3Service service.S3Service, fileService service.FileService) DashboardHandler

NewDashboardHandler is a factory function that returns instance of the DashboardHandler

Jump to

Keyboard shortcuts

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