client

package
v0.0.0-...-8307648 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role int
const (
	Reading Role = iota + 1
	Writing
)

type YouTubeApiClient

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

func NewYouTubeApiClient

func NewYouTubeApiClient(ctx context.Context, secret []byte, cacheDir string) (*YouTubeApiClient, error)

func (*YouTubeApiClient) GetPlaylistItemsService

func (c *YouTubeApiClient) GetPlaylistItemsService(role Role) *youtube.PlaylistItemsService

func (*YouTubeApiClient) GetPlaylistsService

func (c *YouTubeApiClient) GetPlaylistsService(role Role) *youtube.PlaylistsService

func (*YouTubeApiClient) GetSubscriptionsService

func (c *YouTubeApiClient) GetSubscriptionsService(role Role) *youtube.SubscriptionsService

Jump to

Keyboard shortcuts

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