Documentation
¶
Index ¶
- Constants
- Variables
- func AddToQueue(token string, t Track) error
- func RefreshToken(uid string, refreshToken string, db *sql.DB) (string, error)
- func RetrieveActiveUsers(db *sql.DB) ([]string, error)
- func RetrieveConfig(uid string, db *sql.DB) (*Configuration, error)
- func RetrieveFavouriteCount(token string, db *sql.DB) (int, error)
- func RetrieveNthSongFromFavourites(token string, n int) (*Track, error)
- func RetrieveNthSongFromPlaylist(token string, p Playlist, n int) (*Track, error)
- func RetrievePlayer(token string) (*Player, error)
- func RetrievePlaylists(token string, db *sql.DB) ([]Playlist, error)
- func RetrieveQueue(token string) (*Queue, error)
- func RetrieveSessionUser(r *http.Request) (*User, error)
- func RetrieveToken(uid string, db *sql.DB) (string, error)
- func RetrieveUser(token string) (*User, error)
Constants ¶
View Source
const LOCK_KEY = "request-locked"
Variables ¶
Functions ¶
func AddToQueue ¶
func RetrievePlayer ¶
func RetrieveQueue ¶
func RetrieveSessionUser ¶
func RetrieveUser ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.