Documentation
¶
Index ¶
- type ArchiveLive
- type ConvertChat
- type Language
- type Live
- type Pagination
- type Service
- func (s *Service) AddLiveWatchedChannel(c echo.Context, liveDto Live) (*ent.Live, error)
- func (s *Service) ArchiveLiveChannel(c echo.Context, archiveLiveChannelDto ArchiveLive) error
- func (s *Service) Check() error
- func (s *Service) CheckVodWatchedChannels()
- func (s *Service) ConvertChat(c echo.Context, convertChatDto ConvertChat) error
- func (s *Service) DeleteLiveWatchedChannel(c echo.Context, lID uuid.UUID) error
- func (s *Service) GetLiveWatchedChannels(c echo.Context) ([]*ent.Live, error)
- func (s *Service) UpdateLiveWatchedChannel(c echo.Context, liveDto Live) (*ent.Live, error)
- type TwitchVideoResponse
- type Type
- type UserLogin
- type UserName
- type Video
- type Viewable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveLive ¶ added in v1.2.8
type ConvertChat ¶ added in v1.0.6
type Live ¶
type Live struct { ID uuid.UUID `json:"id"` WatchLive bool `json:"watch_live"` WatchVod bool `json:"watch_vod"` DownloadArchives bool `json:"download_archives"` DownloadHighlights bool `json:"download_highlights"` DownloadUploads bool `json:"download_uploads"` IsLive bool `json:"is_live"` ArchiveChat bool `json:"archive_chat"` Resolution string `json:"resolution"` LastLive time.Time `json:"last_live"` RenderChat bool `json:"render_chat"` DownloadSubOnly bool `json:"download_sub_only"` Categories []string `json:"categories"` }
type Pagination ¶ added in v1.1.0
type Pagination struct {
Cursor string `json:"cursor"`
}
type Service ¶
type Service struct { Store *database.Database TwitchService *twitch.Service ArchiveService *archive.Service }
func NewService ¶
func (*Service) AddLiveWatchedChannel ¶
func (*Service) ArchiveLiveChannel ¶ added in v1.2.8
func (s *Service) ArchiveLiveChannel(c echo.Context, archiveLiveChannelDto ArchiveLive) error
func (*Service) CheckVodWatchedChannels ¶ added in v1.1.0
func (s *Service) CheckVodWatchedChannels()
func (*Service) ConvertChat ¶ added in v1.0.6
func (s *Service) ConvertChat(c echo.Context, convertChatDto ConvertChat) error
func (*Service) DeleteLiveWatchedChannel ¶
func (*Service) GetLiveWatchedChannels ¶
type TwitchVideoResponse ¶ added in v1.1.0
type TwitchVideoResponse struct { Data []Video `json:"data"` Pagination Pagination `json:"pagination"` }
type Video ¶ added in v1.1.0
type Video struct { ID string `json:"id"` StreamID string `json:"stream_id"` UserID string `json:"user_id"` UserLogin UserLogin `json:"user_login"` UserName UserName `json:"user_name"` Title string `json:"title"` Description string `json:"description"` CreatedAt string `json:"created_at"` PublishedAt string `json:"published_at"` URL string `json:"url"` ThumbnailURL string `json:"thumbnail_url"` Viewable Viewable `json:"viewable"` ViewCount int64 `json:"view_count"` Language Language `json:"language"` Type Type `json:"type"` Duration string `json:"duration"` MutedSegments interface{} `json:"muted_segments"` }
Click to show internal directories.
Click to hide internal directories.