Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecentTracks ¶
type RecentTracks struct { Recenttracks struct { Track []struct { Artist struct { Text string `json:"#text"` Mbid string `json:"mbid"` } `json:"artist"` Name string `json:"name"` Streamable string `json:"streamable"` Mbid string `json:"mbid"` Album struct { Text string `json:"#text"` Mbid string `json:"mbid"` } `json:"album"` URL string `json:"url"` Image []struct { Text string `json:"#text"` Size string `json:"size"` } `json:"image"` Attr struct { Nowplaying string `json:"nowplaying"` } `json:"@attr,omitempty"` Date struct { Uts string `json:"uts"` Text string `json:"#text"` } `json:"date,omitempty"` } `json:"track"` Attr struct { User string `json:"user"` Page string `json:"page"` PerPage string `json:"perPage"` TotalPages string `json:"totalPages"` Total string `json:"total"` } `json:"@attr"` } `json:"recenttracks"` }
type Track ¶
type TrackInfo ¶
type TrackInfo struct { Track struct { Name string `json:"name"` URL string `json:"url"` Duration string `json:"duration"` Streamable struct { Text string `json:"#text"` Fulltrack string `json:"fulltrack"` } `json:"streamable"` Listeners string `json:"listeners"` Playcount string `json:"playcount"` Artist struct { Name string `json:"name"` Mbid string `json:"mbid"` URL string `json:"url"` } `json:"artist"` Album struct { Artist string `json:"artist"` Title string `json:"title"` URL string `json:"url"` Image []struct { Text string `json:"#text"` Size string `json:"size"` } `json:"image"` } `json:"album"` Userplaycount string `json:"userplaycount"` Userloved string `json:"userloved"` Toptags struct { Tag []struct { Name string `json:"name"` URL string `json:"url"` } `json:"tag"` } `json:"toptags"` } `json:"track"` }
Click to show internal directories.
Click to hide internal directories.