mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 05:57:35 +03:00
15 lines
331 B
Go
15 lines
331 B
Go
package api
|
|
|
|
import "github.com/deluan/gosonic/api/responses"
|
|
|
|
type SystemController struct{ BaseAPIController }
|
|
|
|
func (c *SystemController) Ping() {
|
|
c.SendResponse(c.NewEmpty())
|
|
}
|
|
|
|
func (c *SystemController) GetLicense() {
|
|
response := c.NewEmpty()
|
|
response.License = &responses.License{Valid: true}
|
|
c.SendResponse(response)
|
|
}
|