mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 12:57:41 +03:00
18 lines
386 B
Go
18 lines
386 B
Go
package subsonic
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/navidrome/navidrome/server/subsonic/responses"
|
|
)
|
|
|
|
func (api *Router) Ping(_ *http.Request) (*responses.Subsonic, error) {
|
|
return newResponse(), nil
|
|
}
|
|
|
|
func (api *Router) GetLicense(_ *http.Request) (*responses.Subsonic, error) {
|
|
response := newResponse()
|
|
response.License = &responses.License{Valid: true}
|
|
return response, nil
|
|
}
|