mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 18:57:18 +03:00
17 lines
292 B
Go
17 lines
292 B
Go
package api
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
"github.com/deluan/gosonic/api/responses"
|
|
)
|
|
|
|
type GetLicenseController struct{ beego.Controller }
|
|
|
|
func (this *GetLicenseController) Get() {
|
|
response := responses.NewXML(&responses.License{Valid: true})
|
|
this.Ctx.Output.Body(response)
|
|
}
|
|
|
|
|
|
|