Documentation ¶
Index ¶
- func HasYouTubeService() bool
- func SetYouTubeService(s *Service)
- type Service
- func (s *Service) DecQuotaEntryCount()
- func (s *Service) GetChannelFeeds(channelId, publishedAfter string) ([]*youtubeAPI.Activity, error)
- func (s *Service) GetChannelSingle(channelId string) (*youtubeAPI.Channel, error)
- func (s *Service) GetCheckingInterval() int64
- func (s *Service) GetVideoSingle(videoId string) (*youtubeAPI.Video, error)
- func (s *Service) IncQuotaEntryCount()
- func (s *Service) Init(configFilePath string)
- func (s *Service) SearchQuerySingle(keywords []string, searchType string) (*youtubeAPI.SearchResult, error)
- func (s *Service) UpdateCheckingInterval() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasYouTubeService ¶
func HasYouTubeService() bool
func SetYouTubeService ¶
func SetYouTubeService(s *Service)
Types ¶
type Service ¶
func GetYouTubeService ¶
func GetYouTubeService() *Service
func (*Service) DecQuotaEntryCount ¶
func (s *Service) DecQuotaEntryCount()
func (*Service) GetChannelFeeds ¶
func (s *Service) GetChannelFeeds(channelId, publishedAfter string) ([]*youtubeAPI.Activity, error)
func (*Service) GetChannelSingle ¶
func (s *Service) GetChannelSingle(channelId string) (*youtubeAPI.Channel, error)
func (*Service) GetCheckingInterval ¶
func (*Service) GetVideoSingle ¶
func (s *Service) GetVideoSingle(videoId string) (*youtubeAPI.Video, error)
func (*Service) IncQuotaEntryCount ¶
func (s *Service) IncQuotaEntryCount()
func (*Service) SearchQuerySingle ¶
func (s *Service) SearchQuerySingle(keywords []string, searchType string) (*youtubeAPI.SearchResult, error)
searchQuerySingle returns single search result with given type @searchType. returns (nil, nil) when there is no matching results.
func (*Service) UpdateCheckingInterval ¶
Click to show internal directories.
Click to hide internal directories.