Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinRouter ¶
type GinRouter struct {
Playlists []*soundcloud.Playlist
Tracks []*soundcloud.Track
PlaylistsMap *sync.Map
Fetcher *fetch.Client
}
GinRouter is a simple router that embeds the data
func (*GinRouter) GetAllTracks ¶
GetAllTracks will return all the tracks in JSON format
func (*GinRouter) GetPlaylistTracks ¶
GetPlaylistTracks will retrieve the playlist tracks
func (*GinRouter) GetPlaylists ¶
GetPlaylists will return the playlists in JSON format
Click to show internal directories.
Click to hide internal directories.