Files
navidrome/responses/license.go
T
2016-02-24 11:40:58 -05:00

18 lines
287 B
Go

package responses
type valid struct {
Valid bool `xml:"valid,attr"`
}
type license struct {
Subsonic
Body valid `xml:"license"`
}
func NewGetLicense(valid bool) *license {
response := new(license)
response.Subsonic = NewSubsonic()
response.Body.Valid = valid
return response
}