19 lines
359 B
Go
19 lines
359 B
Go
package subsonic
|
|
|
|
import "time"
|
|
|
|
type PingResponse struct {
|
|
Response
|
|
}
|
|
|
|
type License struct {
|
|
Valid bool `xml:"valid,attr" json:"valid"`
|
|
Email string `xml:"email,attr" json:"email"`
|
|
Expires time.Time `xml:"licenseExpires,attr" json:"licenseExpires"`
|
|
}
|
|
|
|
type LicenseResponse struct {
|
|
Response
|
|
License License `xml:"license" json:"license"`
|
|
}
|