Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditSong ¶
@Summary Update song @Produce json @Success 200 {object} model.Song @Failure 500 {string} string @Router /api/v1/song/{id} [put]
func GetSong ¶
@Summary Get single song @Produce json @Success 200 {object} model.Song @Failure 500 {string} string @Router /api/v1/song/{id} [post]
func GetSongs ¶
@Summary Get all songs @Produce json @Success 200 {object} []model.Song @Failure 500 {string} string @Router /api/v1/songs [get]
func GetUpdatedSongs ¶
@Summary Get updated songs @Produce json @Success 200 {object} []model.Song @Failure 500 {string} string @Router /api/v1/songs/updated/{time} [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.