Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultMaxResults of Youtube API DefaultMaxResults = int64(25) )
Functions ¶
func ChannelInfo ¶
func ChannelInfo(channelID string, resultChan chan *youtube.ChannelListResponse)
ChannelInfo returns info about a channel
func SearchOnChannel ¶
Types ¶
type AppDatabase ¶
type AppDatabase interface {
// contains filtered or unexported methods
}
type Channel ¶
type Channel struct { Name string `json:"name"` Ytid string `json:"ytid"` IsTuts bool `json:"isTuts"` }
Channel type
type YouCodeDB ¶
func (*YouCodeDB) AddChannel ¶
AddChannels provide a simple way for admin to add channels
func (*YouCodeDB) GetChannels ¶
func (*YouCodeDB) StartRefreshData ¶
func (db *YouCodeDB) StartRefreshData()
Click to show internal directories.
Click to hide internal directories.