internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateYoutubeClient added in v0.0.5

func CreateYoutubeClient() (*youtube.Service, error)

func GetOAuthConfig added in v0.0.2

func GetOAuthConfig() oauth2.Config

Types

type CachedTokenSource

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

func GetTokenSource

func GetTokenSource(config oauth2.Config) (context.Context, CachedTokenSource)

func NewCachedTokenSource

func NewCachedTokenSource(ctx context.Context, config oauth2.Config) CachedTokenSource

func (CachedTokenSource) Token

func (ts CachedTokenSource) Token() (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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