handlers

package
v0.0.0-...-7fa36a4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Files

type Files struct {
	// contains filtered or unexported fields
}

func (Files) Handle

func (filesHandler Files) Handle(fiberContext *fiber.Ctx) error

type Handler

type Handler interface {
	Handle(fiberContext *fiber.Ctx) error
}

func FilesCtor

func FilesCtor(pgsql *sqlx.DB, s3 *s3.S3) Handler

func HealthCheckCtor

func HealthCheckCtor(
	pgsql *sqlx.DB,
	rdb *redis.Client,
	s3cfg *s3.S3,
	ctx context.Context,
) Handler

func UserAuthCtor

func UserAuthCtor(pgsql *sqlx.DB, secretKey string) Handler

type HealthCheck

type HealthCheck struct {
	// contains filtered or unexported fields
}

func (HealthCheck) Handle

func (hndlr HealthCheck) Handle(fiberContext *fiber.Ctx) error

type UserAuth

type UserAuth struct {
	// contains filtered or unexported fields
}

func (UserAuth) Handle

func (userAuth UserAuth) Handle(fiberContext *fiber.Ctx) error

Jump to

Keyboard shortcuts

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