bot

package
v0.0.0-...-a73d9ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YoutubeClient

type YoutubeClient struct {
	// contains filtered or unexported fields
}

YoutubeClient stores copy of youtube service

func NewYoutubeClient

func NewYoutubeClient(devKey string) (*YoutubeClient, error)

NewYoutubeClient creates client for youtube

func (*YoutubeClient) Search

func (yc *YoutubeClient) Search(query string) ([]*youtube.SearchResult, error)

Search performs query to youtube and return results

func (*YoutubeClient) SearchOnChannel

func (yc *YoutubeClient) SearchOnChannel(query string) ([]*youtube.SearchResult, error)

SearchOnChannel performs query to youtube and return results

func (*YoutubeClient) SearchOnChannelByTime

func (yc *YoutubeClient) SearchOnChannelByTime(query string) ([]*youtube.SearchResult, error)

SearchOnChannelByTime performs query to youtube and return results

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL