Documentation
¶
Index ¶
- func Entry(port int, pubSub pubsub.PubSub, querySched scheduler.Scheduler, ...) error
- type Server
- func (s *Server) BulkScheduleVideoDownloads(ctx context.Context, req api.BulkScheduleVideoDownloads) (*api.Void, error)
- func (s *Server) CancelVideoDownload(ctx context.Context, req api.CancelVideoDownload) (*api.Void, error)
- func (s *Server) GetBulkChannelsDetails(ctx context.Context, req api.GetBulkChannelsDetailsRequest) (*api.GetBulkChannelsDetailsResponse, error)
- func (s *Server) GetBulkPlaylistsDetails(ctx context.Context, req api.GetBulkPlaylistsDetailsRequest) (*api.GetBulkPlaylistsDetailsResponse, error)
- func (s *Server) GetBulkVideosDetails(ctx context.Context, req api.GetBulkVideosDetailsRequest) (*api.GetBulkVideosDetailsResponse, error)
- func (s *Server) GetChannelDetails(ctx context.Context, req api.GetChannelDetailsRequest) (*api.GetChannelDetailsResponse, error)
- func (s *Server) GetChannelVideoIDs(ctx context.Context, req api.GetChannelVideoIDsRequest) (*api.GetChannelVideoIDsResponse, error)
- func (s *Server) GetPlaylistDetails(ctx context.Context, req api.GetPlaylistDetailsRequest) (*api.GetPlaylistDetailsResponse, error)
- func (s *Server) GetPlaylistVideoIDs(ctx context.Context, req api.GetPlaylistVideoIDsRequest) (*api.GetPlaylistVideoIDsResponse, error)
- func (s *Server) GetVideoDetails(ctx context.Context, req api.GetVideoDetailsRequest) (*api.GetVideoDetailsResponse, error)
- func (s *Server) ListCache(ctx context.Context, req api.ListCacheRequest) (*api.ListCacheResponse, error)
- func (s *Server) ListVideoDownloads(ctx context.Context, req api.Void) (*api.VideoDownloads, error)
- func (s *Server) ListenAndServe(port int) error
- func (s *Server) PurgeVideo(ctx context.Context, req api.PurgeVideo) (*api.Void, error)
- func (s *Server) ScheduleVideoDownload(ctx context.Context, req api.ScheduleVideoDownload) (*api.Void, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Entry ¶
func Entry( port int, pubSub pubsub.PubSub, querySched scheduler.Scheduler, dlSched scheduler.Scheduler, infoCache infocache.InfoCache, vidCache vidcache.VidCache, thumbCache thumbcache.ThumbCache, cachedVideoIDs cachedset.CachedSet, hound hound.Hound, dlOpts *ytdl.Options, concurrency int, disableDownloads bool, log *zap.Logger, ) error
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BulkScheduleVideoDownloads ¶
func (*Server) CancelVideoDownload ¶
func (*Server) GetBulkChannelsDetails ¶
func (s *Server) GetBulkChannelsDetails( ctx context.Context, req api.GetBulkChannelsDetailsRequest, ) (*api.GetBulkChannelsDetailsResponse, error)
func (*Server) GetBulkPlaylistsDetails ¶
func (s *Server) GetBulkPlaylistsDetails( ctx context.Context, req api.GetBulkPlaylistsDetailsRequest, ) (*api.GetBulkPlaylistsDetailsResponse, error)
func (*Server) GetBulkVideosDetails ¶
func (s *Server) GetBulkVideosDetails( ctx context.Context, req api.GetBulkVideosDetailsRequest, ) (*api.GetBulkVideosDetailsResponse, error)
func (*Server) GetChannelDetails ¶
func (s *Server) GetChannelDetails(ctx context.Context, req api.GetChannelDetailsRequest) (*api.GetChannelDetailsResponse, error)
func (*Server) GetChannelVideoIDs ¶
func (s *Server) GetChannelVideoIDs(ctx context.Context, req api.GetChannelVideoIDsRequest) (*api.GetChannelVideoIDsResponse, error)
func (*Server) GetPlaylistDetails ¶
func (s *Server) GetPlaylistDetails(ctx context.Context, req api.GetPlaylistDetailsRequest) (*api.GetPlaylistDetailsResponse, error)
func (*Server) GetPlaylistVideoIDs ¶
func (s *Server) GetPlaylistVideoIDs(ctx context.Context, req api.GetPlaylistVideoIDsRequest) (*api.GetPlaylistVideoIDsResponse, error)
func (*Server) GetVideoDetails ¶
func (s *Server) GetVideoDetails( ctx context.Context, req api.GetVideoDetailsRequest, ) (*api.GetVideoDetailsResponse, error)
func (*Server) ListCache ¶
func (s *Server) ListCache(ctx context.Context, req api.ListCacheRequest) (*api.ListCacheResponse, error)
func (*Server) ListVideoDownloads ¶
func (*Server) ListenAndServe ¶
func (*Server) PurgeVideo ¶
func (*Server) ScheduleVideoDownload ¶
Source Files
¶
- bulk_schedule_download_videos.go
- cache_channel_avatar.go
- cache_playlist_thumbnail.go
- cache_video_thumbnail.go
- cancel_video_download.go
- download_scheduler.go
- download_video.go
- entry.go
- get_bulk_channel_details.go
- get_bulk_playlist_details.go
- get_bulk_video_details.go
- get_channel_avatar.go
- get_channel_details.go
- get_channel_video_ids.go
- get_playlist_details.go
- get_playlist_thumbnail.go
- get_playlist_video_ids.go
- get_video.go
- get_video_details.go
- get_video_thumbnail.go
- list_cache.go
- list_video_downloads.go
- node.go
- purge_video.go
- query_channel.go
- query_playlist.go
- query_scheduler.go
- query_video.go
- retrieve_channel_video_ids.go
- retrieve_playlist_video_ids.go
- schedule_video_download.go
- server.go
Click to show internal directories.
Click to hide internal directories.