Implemented getAvatar

This commit is contained in:
Deluan 2016-03-21 20:31:28 -04:00
parent e42ebebe72
commit cdcb5c6f49
4 changed files with 19 additions and 4 deletions

View file

@ -25,7 +25,8 @@ func mapEndpoints() {
beego.NSRouter("/search2.view", &api.SearchingController{}, "*:Search2"),
beego.NSRouter("/getCoverArt.view", &api.GetCoverArtController{}, "*:Get"),
beego.NSRouter("/getCoverArt.view", &api.MediaRetrievalController{}, "*:GetCover"),
beego.NSRouter("/getAvatar.view", &api.MediaRetrievalController{}, "*:GetAvatar"),
beego.NSRouter("/stream.view", &api.StreamController{}, "*:Stream"),
beego.NSRouter("/download.view", &api.StreamController{}, "*:Download"),