Files
web_server/backend/handlers/handle_spotify.go

22 lines
351 B
Go

package handlers
import (
"github.com/gin-gonic/gin"
)
func (store *Store) ListeningTo(c *gin.Context) {
// Communicate with spotify API
// Return if I'm listening to a song
return
}
func (store *Store) SendSong(c *gin.Context) {
// Communicate with spotify API
// Play song on spotify
// Disallow new song for duration of song
return
}