Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type ChannelItem ¶
type ChannelItem struct {
Id string `json:"id"`
}
type DiscordClient ¶
type DiscordClient struct {
// contains filtered or unexported fields
}
func NewDiscordClient ¶
func NewDiscordClient(token, channelId string) (*DiscordClient, error)
func (*DiscordClient) PostVideo ¶
func (dc *DiscordClient) PostVideo(v Postable) error
func (*DiscordClient) PostVideos ¶
func (dc *DiscordClient) PostVideos(vs []Postable) error
type YouTubeChannelResponse ¶
type YouTubeChannelResponse struct {
Items []ChannelItem `json:"items"`
}
type YouTubeClient ¶
type YouTubeClient struct {
// contains filtered or unexported fields
}
func NewYouTubeClient ¶
func NewYouTubeClient(apiKey string) (*YouTubeClient, error)
func (*YouTubeClient) ListRecentVideosForUsernames ¶
type YouTubeSearchResponse ¶
type YouTubeSearchResponse struct {
Items []Item `json:"items"`
}
Click to show internal directories.
Click to hide internal directories.