Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpotifyAuthPersistence ¶
type SpotifyAuthPersistence struct { Strategy strategies.PersistenceStrategyInterface Logger logger.LoggerInterface }
func (*SpotifyAuthPersistence) Read ¶
func (p *SpotifyAuthPersistence) Read() (*spotify.SpotifyUserAuthData, error)
func (*SpotifyAuthPersistence) Write ¶
func (p *SpotifyAuthPersistence) Write(data spotify.SpotifyUserAuthData) error
type SpotifyAuthPersistenceInterface ¶
type SpotifyAuthPersistenceInterface interface { Read() (*spotify.SpotifyUserAuthData, error) Write(data spotify.SpotifyUserAuthData) error }
func NewSpotifyAuthPersistence ¶
func NewSpotifyAuthPersistence( strategy strategies.PersistenceStrategyInterface, logger logger.LoggerInterface, ) SpotifyAuthPersistenceInterface
Click to show internal directories.
Click to hide internal directories.