package subsonic type Envelope struct { SubsonicResponse Response `json:"subsonic-response"` } type Response struct { Status string `json:"status"` Version string `json:"version"` Type string `json:"type"` Server string `json:"serverVersion"` OpenAPI bool `json:"openSubsonic"` } func PingResponse() Envelope { return Envelope{ SubsonicResponse: Response{ Status: "ok", Version: "1.16.1", Type: "temporserv", Server: "0.1.0", OpenAPI: true, }, } }