Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadConfig ¶ added in v0.0.5
type Songs ¶
type Songs struct { // the song Name Name string `json:"name"` // the song author Artists []Artists `json:"artists"` // the song download url DownloadUrl string `json:"downloadUrl"` // the song Size(unit is byte) Size int64 `json:"size"` // the song EncodeType // e.g: .mp3 EncodeType string `json:"encodeType"` }
func Collect ¶ added in v0.0.9
func Collect(mappers []SongsMapper) []Songs
Collect songs async call SongsMapper#mapper() converted to Songs
type SongsMapper ¶ added in v0.0.5
type SongsMapper interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.