authentication

package
v0.0.0-...-ff50a5f Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokFilePath = os.TempDir() + "tok.txt"

TokFilePath is the path that the OAuth2 token is stored at.

Functions

func NewClient

func NewClient() *spotify.Client

NewClient constructs a new Spotify client out of the cached OAuth2 token. The client is used to actually interact with Spotify.

Types

This section is empty.

Jump to

Keyboard shortcuts

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