handler

package
v0.0.0-...-37e2b78 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleHealth

func HandleHealth(ctx *fiber.Ctx) error

Types

type MemeHandler

type MemeHandler struct {
	Config  memeConfig.Config
	Service service.MemeService
}

func (*MemeHandler) HandleDeleteMeme

func (mh *MemeHandler) HandleDeleteMeme(ctx *fiber.Ctx) error

func (*MemeHandler) HandleGetMeme

func (mh *MemeHandler) HandleGetMeme(ctx *fiber.Ctx) error

func (*MemeHandler) HandleGetMemes

func (mh *MemeHandler) HandleGetMemes(ctx *fiber.Ctx) error

func (*MemeHandler) HandleUpdateMeme

func (mh *MemeHandler) HandleUpdateMeme(ctx *fiber.Ctx) error

func (*MemeHandler) HandleUploadMeme

func (mh *MemeHandler) HandleUploadMeme(ctx *fiber.Ctx) error

type UserHandler

type UserHandler struct {
	Config  userConfig.Config
	Service service.UserService
}

func (*UserHandler) HandleCheckUsername

func (uh *UserHandler) HandleCheckUsername(ctx *fiber.Ctx) error

func (*UserHandler) HandleGetById

func (uh *UserHandler) HandleGetById(ctx *fiber.Ctx) error

func (*UserHandler) HandleLogin

func (uh *UserHandler) HandleLogin(ctx *fiber.Ctx) error

func (*UserHandler) HandleLogout

func (uh *UserHandler) HandleLogout(ctx *fiber.Ctx) error

func (*UserHandler) HandleRefresh

func (uh *UserHandler) HandleRefresh(ctx *fiber.Ctx) error

func (*UserHandler) HandleRegister

func (uh *UserHandler) HandleRegister(ctx *fiber.Ctx) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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