init
This commit is contained in:
18
subsonic/system.go
Normal file
18
subsonic/system.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user