Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrVidNotFound = errors.New("No video was found.") ErrChannelNotFound = errors.New("No channel was found.") )
View Source
var Advanced = advanced{}
View Source
var AdvancedSearch = advancedSearch{}
View Source
var AdvancedSearchChannel = advancedSearchChannel{}
View Source
var AdvancedSearchVideo = advancedSearchVideo{}
View Source
var Normal = normal{}
Functions ¶
This section is empty.
Types ¶
type Channel ¶
func SearchChannel ¶
SearchChannel will automatically create a client and return the most relevant channel. Returns ErrChannelNotFound if no channel was found.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SearchChannels ¶
SearchChannels returns a list of channels, of maxResults length, matching the query and ranked by relevance.
type Video ¶
func SearchVideo ¶
SearchVideo will automatically create a client and return the most relevant completed video (not livestreams or premiers). Returns ErrVidNotFound if no video was found.
Click to show internal directories.
Click to hide internal directories.