handlers

package
v0.0.0-...-ae45ef5 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const UniqueViolationErr = "23505"

Variables

This section is empty.

Functions

This section is empty.

Types

type CardHandler

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

func NewCardHandler

func NewCardHandler(
	cardUseCase *actions.CardUseCase, errorHandler *middleware.ErrorHandler, validator services.Validator,
) *CardHandler

func (CardHandler) Create

func (h CardHandler) Create(c *gin.Context)

func (CardHandler) Delete

func (h CardHandler) Delete(c *gin.Context)

func (CardHandler) GetById

func (h CardHandler) GetById(c *gin.Context)

func (CardHandler) GetList

func (h CardHandler) GetList(c *gin.Context)

func (CardHandler) LinkTags

func (h CardHandler) LinkTags(c *gin.Context)

func (CardHandler) PatchDetailText

func (h CardHandler) PatchDetailText(c *gin.Context)

func (CardHandler) PatchLearnMoreUrl

func (h CardHandler) PatchLearnMoreUrl(c *gin.Context)

func (CardHandler) PatchPreviewText

func (h CardHandler) PatchPreviewText(c *gin.Context)

func (CardHandler) PatchTags

func (h CardHandler) PatchTags(c *gin.Context)

func (CardHandler) PatchUser

func (h CardHandler) PatchUser(c *gin.Context)

func (CardHandler) UnlinkTags

func (h CardHandler) UnlinkTags(c *gin.Context)

func (CardHandler) Update

func (h CardHandler) Update(c *gin.Context)

type GalleryHandler

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

func NewGalleryHandler

func NewGalleryHandler(
	galleryUseCase *actions.GalleryUseCase, errorHandler *middleware.ErrorHandler, validator services.Validator,
) *GalleryHandler

func (GalleryHandler) Create

func (h GalleryHandler) Create(c *gin.Context)

func (GalleryHandler) DeleteList

func (h GalleryHandler) DeleteList(c *gin.Context)

func (GalleryHandler) GetById

func (h GalleryHandler) GetById(c *gin.Context)

func (GalleryHandler) GetList

func (h GalleryHandler) GetList(c *gin.Context)

func (GalleryHandler) LinkCards

func (h GalleryHandler) LinkCards(c *gin.Context)

func (GalleryHandler) PatchCardPosition

func (h GalleryHandler) PatchCardPosition(c *gin.Context)

func (GalleryHandler) PatchName

func (h GalleryHandler) PatchName(c *gin.Context)

func (GalleryHandler) UnlinkCards

func (h GalleryHandler) UnlinkCards(c *gin.Context)

func (GalleryHandler) Update

func (h GalleryHandler) Update(c *gin.Context)

type PageHandler

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

func NewPageHandler

func NewPageHandler(
	pageUseCase *actions.PageUseCase, errorHandler *middleware.ErrorHandler, validator services.Validator,
) *PageHandler

func (PageHandler) Create

func (h PageHandler) Create(c *gin.Context)

func (PageHandler) Delete

func (h PageHandler) Delete(c *gin.Context)

func (PageHandler) GetById

func (h PageHandler) GetById(c *gin.Context)

func (PageHandler) GetList

func (h PageHandler) GetList(c *gin.Context)

func (PageHandler) LinkGalleries

func (h PageHandler) LinkGalleries(c *gin.Context)

func (PageHandler) PatchGalleryPosition

func (h PageHandler) PatchGalleryPosition(c *gin.Context)

func (PageHandler) PatchProperties

func (h PageHandler) PatchProperties(c *gin.Context)

func (PageHandler) UnlinkGalleries

func (h PageHandler) UnlinkGalleries(c *gin.Context)

type TagHandler

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

func NewTagHandler

func NewTagHandler(
	tagUseCase *actions.TagUseCase, errorHandler *middleware.ErrorHandler, validator services.Validator,
) *TagHandler

func (TagHandler) Create

func (h TagHandler) Create(c *gin.Context)

func (TagHandler) Delete

func (h TagHandler) Delete(c *gin.Context)

func (TagHandler) GetList

func (h TagHandler) GetList(c *gin.Context)

func (TagHandler) Update

func (h TagHandler) Update(c *gin.Context)

type VideoHandler

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

func NewVideoHandler

func NewVideoHandler(
	videoUseCase *actions.VideoUseCase,
	errorHandler *middleware.ErrorHandler,
	validator services.Validator,
) *VideoHandler

func (VideoHandler) Create

func (h VideoHandler) Create(c *gin.Context)

func (VideoHandler) GenerateSubtitles

func (h VideoHandler) GenerateSubtitles(c *gin.Context)

func (VideoHandler) UpdateSubtitles

func (h VideoHandler) UpdateSubtitles(c *gin.Context)

Jump to

Keyboard shortcuts

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