Documentation
¶
Index ¶
- func NewHandler(m *Repo)
- type Repo
- func (m *Repo) GetStatus(c *gin.Context)
- func (m *Repo) HandleContactUs(c *gin.Context)
- func (m *Repo) HandleCreateChannel(c *gin.Context)
- func (m *Repo) HandleCreateOrUpdateComment(c *gin.Context)
- func (m *Repo) HandleCreateShot(c *gin.Context)
- func (m *Repo) HandleCreateVideo(c *gin.Context)
- func (m *Repo) HandleDeleteChannel(c *gin.Context)
- func (m *Repo) HandleDeleteComment(c *gin.Context)
- func (m *Repo) HandleDeleteVideo(c *gin.Context)
- func (m *Repo) HandleEditChannel(c *gin.Context)
- func (m *Repo) HandleGetAllVideos(c *gin.Context)
- func (m *Repo) HandleGetChannel(c *gin.Context)
- func (m *Repo) HandleGetChannelWithDetails(c *gin.Context)
- func (m *Repo) HandleGetChannels(c *gin.Context)
- func (m *Repo) HandleGetChannelsVideos(c *gin.Context)
- func (m *Repo) HandleGetChannelsWithDetailsByUserID(c *gin.Context)
- func (m *Repo) HandleGetComments(c *gin.Context)
- func (m *Repo) HandleGetLikedVideos(c *gin.Context)
- func (m *Repo) HandleGetNotifications(c *gin.Context)
- func (m *Repo) HandleGetRelatedVideos(c *gin.Context)
- func (m *Repo) HandleGetSingleVideo(c *gin.Context)
- func (m *Repo) HandleGetSubscribedChannels(c *gin.Context)
- func (m *Repo) HandleGetVideosByChannelID(c *gin.Context)
- func (m *Repo) HandleGetWatchLater(c *gin.Context)
- func (m *Repo) HandleMyAuthInfo(c *gin.Context)
- func (m *Repo) HandleRemoveWatchLater(c *gin.Context)
- func (m *Repo) HandleUpdateNotification(c *gin.Context)
- func (m *Repo) HandleUpdateVideo(c *gin.Context)
- func (m *Repo) HandleVideoLike(c *gin.Context)
- func (m *Repo) HandleWatchLater(c *gin.Context)
- func (m *Repo) LoginHandler(c *gin.Context)
- func (m *Repo) RequestPasswordReset(c *gin.Context)
- func (m *Repo) ResetPassword(c *gin.Context)
- func (m *Repo) SendMail(c *gin.Context)
- func (m *Repo) SignupHandler(c *gin.Context)
- func (m *Repo) SocialLogin(c *gin.Context)
- func (m *Repo) StreamVideo(c *gin.Context)
- func (m *Repo) StreamVideoBuff(c *gin.Context)
- func (m *Repo) VerifyPasswordReset(c *gin.Context)
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) HandleContactUs ¶
func (*Repo) HandleCreateChannel ¶
create new channel
func (*Repo) HandleCreateOrUpdateComment ¶
func (*Repo) HandleCreateShot ¶
func (*Repo) HandleCreateVideo ¶
func (*Repo) HandleDeleteChannel ¶
delete channel
func (*Repo) HandleDeleteComment ¶
func (*Repo) HandleGetAllVideos ¶
func (*Repo) HandleGetChannel ¶
get single channel with videos
func (*Repo) HandleGetChannelWithDetails ¶
Get channel by id with details
func (*Repo) HandleGetChannelsVideos ¶
GetVideos by channel id
func (*Repo) HandleGetChannelsWithDetailsByUserID ¶
Get channel by user id with details
func (*Repo) HandleGetLikedVideos ¶
HandleGetLikedVideos get all liked videos by user ID
func (*Repo) HandleGetNotifications ¶
HandleGetNotificationsByUserID get all notifications by user ID
func (*Repo) HandleGetRelatedVideos ¶
Get related videos
func (*Repo) HandleGetSingleVideo ¶
func (*Repo) HandleGetSubscribedChannels ¶
func (*Repo) HandleGetVideosByChannelID ¶
get videos by channelID with pagination
func (*Repo) HandleGetWatchLater ¶
HandleGetWatchLater get all watch later videos by user ID with pagination
func (*Repo) HandleMyAuthInfo ¶
func (*Repo) HandleRemoveWatchLater ¶
HandleRemoveWatchLater remove watch later video by video ID
func (*Repo) HandleUpdateNotification ¶
HandleUpdateNotification update notification by notification ID
func (*Repo) HandleUpdateVideo ¶
handle update video
func (*Repo) LoginHandler ¶
func (*Repo) RequestPasswordReset ¶
func (*Repo) ResetPassword ¶
func (*Repo) SignupHandler ¶
func (*Repo) SocialLogin ¶
func (*Repo) StreamVideo ¶
func (*Repo) StreamVideoBuff ¶
func (*Repo) VerifyPasswordReset ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.