Documentation
¶
Index ¶
- func AddAlbum(album model.Album) interface{}
- func AddArtist(artist model.Artist) interface{}
- func AddPlaylist(playlist model.Playlist) interface{}
- func AddSong(song model.Song) interface{}
- func AddUser(user model.User) interface{}
- func GetAlbumSongs(id int64, limit int) []*model.Song
- func GetArtistAlbum(id int64, limit int) []*model.Album
- func GetArtistHotSongs(id int64) []*model.Song
- func GetArtistSongs(id int64, limit int64, offset int64) []*model.Song
- func GetArtistToplist(type1 int) []*model.Artist
- func GetNewAlbum(limit int64, offset int64) []*model.Album
- func GetOneAlbum(id int64) *model.Album
- func GetOneAlbumByObjectId(id int64) *model.Album
- func GetOneArtist(id int64) *model.Artist
- func GetOneArtistByObjectId(id int64) *model.Artist
- func GetOnePlaylist(id int64) *model.Playlist
- func GetOnePlaylistByObjectId(id int64) *model.Playlist
- func GetOneSong(id int64) *model.Song
- func GetOneSongByObjectId(id int64) *model.Song
- func GetOneUser(id int64) *model.User
- func GetOneUserByEmail(email string) *model.User
- func GetOneUserByPhone(phone string) *model.User
- func GetPlaylistPersonalized(limit int64) []*model.Playlist
- func GetPlaylistToplist() []*model.Playlist
- func GetSongs(ids []int64) []*model.Song
- func SearchAlbum(keyword string, limit int64, offset int64) []*model.Album
- func SearchArtist(keyword string, limit int64, offset int64) []*model.Artist
- func SearchPlaylist(keyword string, limit int64, offset int64) []*model.Playlist
- func SearchSong(keyword string, limit int64, offset int64) []*model.Song
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPlaylist ¶
func GetArtistHotSongs ¶
func GetArtistToplist ¶
func GetOneAlbum ¶
func GetOneAlbumByObjectId ¶
func GetOneArtist ¶
func GetOneArtistByObjectId ¶
func GetOnePlaylist ¶
func GetOneSong ¶
func GetOneSongByObjectId ¶
func GetOneUser ¶
func GetOneUserByEmail ¶
func GetOneUserByPhone ¶
func GetPlaylistPersonalized ¶
func GetPlaylistToplist ¶
func SearchPlaylist ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.