Documentation ¶
Index ¶
- type IStream
- type IYoutube
- type Stream
- type Youtube
- func (y *Youtube) FetchManyByManyIDs(guildID string, ids []int) ([]*player.Song, error)
- func (y *Youtube) FetchManyByManyURLs(urls []string) ([]*player.Song, error)
- func (y *Youtube) FetchManyByTitle(title string) ([]*player.Song, error)
- func (y *Youtube) FetchManyByURL(url string) ([]*player.Song, error)
- func (y *Youtube) FetchOneByURL(url string) (*player.Song, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IYoutube ¶
type IYoutube interface { FetchOneByURL(url string) (*player.Song, error) FetchManyByURL(url string) ([]*player.Song, error) FetchManyByManyURLs(urls []string) ([]*player.Song, error) FetchManyByManyIDs(guildID string, ids []int) ([]*player.Song, error) FetchManyByTitle(title string) ([]*player.Song, error) }
func NewYoutube ¶
func NewYoutube() IYoutube
type Youtube ¶
type Youtube struct {
// contains filtered or unexported fields
}
func (*Youtube) FetchManyByManyIDs ¶
-- ID --
func (*Youtube) FetchManyByManyURLs ¶
func (*Youtube) FetchManyByTitle ¶
-- Title --
func (*Youtube) FetchManyByURL ¶
Click to show internal directories.
Click to hide internal directories.