Documentation
¶
Overview ¶
Package spotify provides shared handlers for mocking the Spotify API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleMe ¶
func HandleMe(w http.ResponseWriter, r *http.Request)
HandleMe simulates the Spotify user profile endpoint.
func HandleToken ¶
func HandleToken(w http.ResponseWriter, r *http.Request)
HandleToken simulates the Spotify OAuth token endpoint.
func NewSpotifyHandler ¶
NewSpotifyHandler returns a new http.Handler configured with Spotify mock endpoints.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.