lib

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HISTORY_FILE_PATH = "videos/.history.gob"
)

Variables

This section is empty.

Functions

func GetClient

func GetClient(scope string) *http.Client

getClient uses a Context and Config to retrieve a Token then generate a Client. It returns the generated Client.

func GetHistory

func GetHistory() map[string]bool

func HandleError

func HandleError(err error, message string)

func SearchList

func SearchList(service *youtube.Service, part string, channelId string, maxResults int64) *youtube.SearchListResponse

func StoreHistory

func StoreHistory(data map[string]bool)

func SubscriptionsList

func SubscriptionsList(service *youtube.Service, part string, channelId string, hl string, maxResults int64, mine bool, onBehalfOfContentOwner string, pageToken string, playlistId string) *youtube.SubscriptionListResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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