Documentation
¶
Index ¶
- type Pagination
- type Service
- func (s *Service) CheckVodExists(extID string) (bool, error)
- func (s *Service) CreateVod(vodDto Vod, cUUID uuid.UUID) (*ent.Vod, error)
- func (s *Service) DeleteVod(c echo.Context, vodID uuid.UUID) error
- func (s *Service) GetNumberOfVodChatCommentsFromTime(c echo.Context, vodID uuid.UUID, start float64, commentCount int64) (*[]chat.Comment, error)
- func (s *Service) GetUserIdFromChat(c echo.Context, vodID uuid.UUID) (*int64, error)
- func (s *Service) GetVod(vodID uuid.UUID) (*ent.Vod, error)
- func (s *Service) GetVodChatBadges(c echo.Context, vodID uuid.UUID) (*chat.BadgeResp, error)
- func (s *Service) GetVodChatComments(c echo.Context, vodID uuid.UUID, start float64, end float64) (*[]chat.Comment, error)
- func (s *Service) GetVodChatEmotes(c echo.Context, vodID uuid.UUID) (*chat.GanymedeEmotes, error)
- func (s *Service) GetVodPlaylists(c echo.Context, vodID uuid.UUID) ([]*ent.Playlist, error)
- func (s *Service) GetVodWithChannel(vodID uuid.UUID) (*ent.Vod, error)
- func (s *Service) GetVods(c echo.Context) ([]*ent.Vod, error)
- func (s *Service) GetVodsByChannel(c echo.Context, cUUID uuid.UUID) ([]*ent.Vod, error)
- func (s *Service) GetVodsPagination(c echo.Context, limit int, offset int, channelId uuid.UUID) (Pagination, error)
- func (s *Service) SearchVods(c echo.Context, term string, limit int, offset int) (Pagination, error)
- func (s *Service) UpdateVod(c echo.Context, vodID uuid.UUID, vodDto Vod, cUUID uuid.UUID) (*ent.Vod, error)
- type Vod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pagination ¶ added in v1.0.7
type Service ¶
func NewService ¶
func (*Service) GetNumberOfVodChatCommentsFromTime ¶ added in v1.1.0
func (*Service) GetUserIdFromChat ¶ added in v1.1.0
func (*Service) GetVodChatBadges ¶ added in v1.1.0
func (*Service) GetVodChatComments ¶ added in v1.1.0
func (*Service) GetVodChatEmotes ¶ added in v1.1.0
func (*Service) GetVodPlaylists ¶ added in v1.0.0
func (*Service) GetVodWithChannel ¶
func (*Service) GetVodsByChannel ¶
func (*Service) GetVodsPagination ¶ added in v1.0.7
func (*Service) SearchVods ¶
type Vod ¶
type Vod struct { ID uuid.UUID `json:"id"` ExtID string `json:"ext_id"` Platform utils.VodPlatform `json:"platform"` Type utils.VodType `json:"type"` Title string `json:"title"` Duration int `json:"duration"` Views int `json:"views"` Resolution string `json:"resolution"` Processing bool `json:"processing"` ThumbnailPath string `json:"thumbnail_path"` WebThumbnailPath string `json:"web_thumbnail_path"` VideoPath string `json:"video_path"` ChatPath string `json:"chat_path"` ChatVideoPath string `json:"chat_video_path"` InfoPath string `json:"info_path"` StreamedAt time.Time `json:"streamed_at"` UpdatedAt time.Time `json:"updated_at"` CreatedAt time.Time `json:"created_at"` }
Click to show internal directories.
Click to hide internal directories.