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
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
Click to show internal directories.
Click to hide internal directories.