package
Version:
v0.0.0-...-5c6b70c
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB is a wrapper around a *bbolt.DB.
Open opens a database file and returns a *DB.
SetToken sets a Spotify OAuth token.
Token returns a Spotify OAuth token for a user.
type Token struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
Expiry time.Time `json:"expiry"`
TokenType string `json:"token_type"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.