handlers

package
v0.0.0-...-83fb53a Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(m *Repo)

Types

type Repo

type Repo struct {
	App *config.Application
}
var Methods *Repo

func NewAPP

func NewAPP(a *config.Application) *Repo

func (*Repo) GetStatus

func (m *Repo) GetStatus(c *gin.Context)

func (*Repo) HandleContactUs

func (m *Repo) HandleContactUs(c *gin.Context)

func (*Repo) HandleCreateChannel

func (m *Repo) HandleCreateChannel(c *gin.Context)

create new channel

func (*Repo) HandleCreateOrUpdateComment

func (m *Repo) HandleCreateOrUpdateComment(c *gin.Context)

func (*Repo) HandleCreateShot

func (m *Repo) HandleCreateShot(c *gin.Context)

func (*Repo) HandleCreateVideo

func (m *Repo) HandleCreateVideo(c *gin.Context)

func (*Repo) HandleDeleteChannel

func (m *Repo) HandleDeleteChannel(c *gin.Context)

delete channel

func (*Repo) HandleDeleteComment

func (m *Repo) HandleDeleteComment(c *gin.Context)

func (*Repo) HandleDeleteVideo

func (m *Repo) HandleDeleteVideo(c *gin.Context)

Delete video

func (*Repo) HandleEditChannel

func (m *Repo) HandleEditChannel(c *gin.Context)

edit channel

func (*Repo) HandleGetAllVideos

func (m *Repo) HandleGetAllVideos(c *gin.Context)

func (*Repo) HandleGetChannel

func (m *Repo) HandleGetChannel(c *gin.Context)

get single channel with videos

func (*Repo) HandleGetChannelWithDetails

func (m *Repo) HandleGetChannelWithDetails(c *gin.Context)

Get channel by id with details

func (*Repo) HandleGetChannels

func (m *Repo) HandleGetChannels(c *gin.Context)

Get Channels

func (*Repo) HandleGetChannelsVideos

func (m *Repo) HandleGetChannelsVideos(c *gin.Context)

GetVideos by channel id

func (*Repo) HandleGetChannelsWithDetailsByUserID

func (m *Repo) HandleGetChannelsWithDetailsByUserID(c *gin.Context)

Get channel by user id with details

func (*Repo) HandleGetComments

func (m *Repo) HandleGetComments(c *gin.Context)

Get comments

func (*Repo) HandleGetLikedVideos

func (m *Repo) HandleGetLikedVideos(c *gin.Context)

HandleGetLikedVideos get all liked videos by user ID

func (*Repo) HandleGetNotifications

func (m *Repo) HandleGetNotifications(c *gin.Context)

HandleGetNotificationsByUserID get all notifications by user ID

func (*Repo) HandleGetRelatedVideos

func (m *Repo) HandleGetRelatedVideos(c *gin.Context)

Get related videos

func (*Repo) HandleGetSingleVideo

func (m *Repo) HandleGetSingleVideo(c *gin.Context)

func (*Repo) HandleGetSubscribedChannels

func (m *Repo) HandleGetSubscribedChannels(c *gin.Context)

func (*Repo) HandleGetVideosByChannelID

func (m *Repo) HandleGetVideosByChannelID(c *gin.Context)

get videos by channelID with pagination

func (*Repo) HandleGetWatchLater

func (m *Repo) HandleGetWatchLater(c *gin.Context)

HandleGetWatchLater get all watch later videos by user ID with pagination

func (*Repo) HandleMyAuthInfo

func (m *Repo) HandleMyAuthInfo(c *gin.Context)

func (*Repo) HandleRemoveWatchLater

func (m *Repo) HandleRemoveWatchLater(c *gin.Context)

HandleRemoveWatchLater remove watch later video by video ID

func (*Repo) HandleUpdateNotification

func (m *Repo) HandleUpdateNotification(c *gin.Context)

HandleUpdateNotification update notification by notification ID

func (*Repo) HandleUpdateVideo

func (m *Repo) HandleUpdateVideo(c *gin.Context)

handle update video

func (*Repo) HandleVideoLike

func (m *Repo) HandleVideoLike(c *gin.Context)

Handle Video Like

func (*Repo) HandleWatchLater

func (m *Repo) HandleWatchLater(c *gin.Context)

Handle Watch later

func (*Repo) LoginHandler

func (m *Repo) LoginHandler(c *gin.Context)

func (*Repo) RequestPasswordReset

func (m *Repo) RequestPasswordReset(c *gin.Context)

func (*Repo) ResetPassword

func (m *Repo) ResetPassword(c *gin.Context)

func (*Repo) SendMail

func (m *Repo) SendMail(c *gin.Context)

func (*Repo) SignupHandler

func (m *Repo) SignupHandler(c *gin.Context)

func (*Repo) SocialLogin

func (m *Repo) SocialLogin(c *gin.Context)

func (*Repo) StreamVideo

func (m *Repo) StreamVideo(c *gin.Context)

func (*Repo) StreamVideoBuff

func (m *Repo) StreamVideoBuff(c *gin.Context)

func (*Repo) VerifyPasswordReset

func (m *Repo) VerifyPasswordReset(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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