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