handlers

package
v0.0.0-...-de38334 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumHandlerV1

type AlbumHandlerV1 struct{}

func (AlbumHandlerV1) AddPhotos

func (ctrl AlbumHandlerV1) AddPhotos(c *gin.Context)

func (AlbumHandlerV1) AddUser

func (ctrl AlbumHandlerV1) AddUser(c *gin.Context)

func (AlbumHandlerV1) CreateAlbum

func (ctrl AlbumHandlerV1) CreateAlbum(c *gin.Context)

@Summary Create an album @Description Create a new album with the provided data. @Tags Albums @Accept json @Produce json @Param Authorization header string true "JWT access token" @Param albumValidator body validatorsV1.NewAlbumValidator{} true "Album data to be created" @Success 200 {object} types.SuccessResponse{Data=models.Album} "Successful response with the created album" @Failure 406 {object} types.ErrorResponse{Error=types.Error} "Validation error or invalid data" @Failure 500 {object} types.ErrorResponse{Error=types.Error} "Internal server error" @Router /api/v1/albums [post]

func (AlbumHandlerV1) RemoveUser

func (ctrl AlbumHandlerV1) RemoveUser(c *gin.Context)

func (AlbumHandlerV1) Search

func (ctrl AlbumHandlerV1) Search(c *gin.Context)

func (AlbumHandlerV1) UpdateAlbum

func (ctrl AlbumHandlerV1) UpdateAlbum(c *gin.Context)

type CommentHandlerV1

type CommentHandlerV1 struct{}

func (CommentHandlerV1) Comment

func (ctrl CommentHandlerV1) Comment(c *gin.Context)

func (CommentHandlerV1) DeleteComment

func (ctrl CommentHandlerV1) DeleteComment(c *gin.Context)

func (CommentHandlerV1) UpdateComment

func (ctrl CommentHandlerV1) UpdateComment(c *gin.Context)

type FileHandlerV1

type FileHandlerV1 struct{}

func (FileHandlerV1) GetFile

func (ctrl FileHandlerV1) GetFile(c *gin.Context)

type LikeHandlerV1

type LikeHandlerV1 struct{}

func (LikeHandlerV1) Like

func (ctrl LikeHandlerV1) Like(c *gin.Context)

type PhotoHandlerV1

type PhotoHandlerV1 struct{}

func (PhotoHandlerV1) Delete

func (ctrl PhotoHandlerV1) Delete(c *gin.Context)

func (PhotoHandlerV1) Search

func (ctrl PhotoHandlerV1) Search(c *gin.Context)

func (PhotoHandlerV1) Update

func (ctrl PhotoHandlerV1) Update(c *gin.Context)

type UserHandlerV1

type UserHandlerV1 struct{}

func (UserHandlerV1) AddUserFromIdP

func (ctrl UserHandlerV1) AddUserFromIdP(c *gin.Context)

func (UserHandlerV1) GetDefaultClientId

func (ctrl UserHandlerV1) GetDefaultClientId(c *gin.Context)

Jump to

Keyboard shortcuts

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