mirror of
https://github.com/navidrome/navidrome.git
synced 2024-09-10 11:32:48 +02:00
14 lines
283 B
Go
14 lines
283 B
Go
package api
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
"github.com/deluan/gosonic/api/responses"
|
|
)
|
|
|
|
type GetLicenseController struct{ beego.Controller }
|
|
|
|
func (c *GetLicenseController) Get() {
|
|
response := responses.NewXML(&responses.License{Valid: true})
|
|
c.Ctx.Output.Body(response)
|
|
}
|