Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDecoder ¶
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func (Decoder) GetAudioData ¶
func (Decoder) GetAudioExt ¶
func (Decoder) GetCoverImage ¶
type RawMetaDJ ¶
type RawMetaDJ struct { ProgramID int `json:"programId"` ProgramName string `json:"programName"` MainMusic RawMetaMusic `json:"mainMusic"` DjID int `json:"djId"` DjName string `json:"djName"` DjAvatarURL string `json:"djAvatarUrl"` CreateTime int64 `json:"createTime"` Brand string `json:"brand"` Serial int `json:"serial"` ProgramDesc string `json:"programDesc"` ProgramFeeType int `json:"programFeeType"` ProgramBuyed bool `json:"programBuyed"` RadioID int `json:"radioId"` RadioName string `json:"radioName"` RadioCategory string `json:"radioCategory"` RadioCategoryID int `json:"radioCategoryId"` RadioDesc string `json:"radioDesc"` RadioFeeType int `json:"radioFeeType"` RadioFeeScope int `json:"radioFeeScope"` RadioBuyed bool `json:"radioBuyed"` RadioPrice int `json:"radioPrice"` RadioPurchaseCount int `json:"radioPurchaseCount"` }
func (RawMetaDJ) GetAlbumImageURL ¶
func (RawMetaDJ) GetArtists ¶
type RawMetaMusic ¶
type RawMetaMusic struct { Format string `json:"format"` MusicID int `json:"musicId"` MusicName string `json:"musicName"` Artist [][]interface{} `json:"artist"` Album string `json:"album"` AlbumID int `json:"albumId"` AlbumPicDocID interface{} `json:"albumPicDocId"` AlbumPic string `json:"albumPic"` MvID int `json:"mvId"` Flag int `json:"flag"` Bitrate int `json:"bitrate"` Duration int `json:"duration"` Alias []interface{} `json:"alias"` TransNames []interface{} `json:"transNames"` }
func (RawMetaMusic) GetAlbum ¶
func (m RawMetaMusic) GetAlbum() string
func (RawMetaMusic) GetAlbumImageURL ¶
func (m RawMetaMusic) GetAlbumImageURL() string
func (RawMetaMusic) GetArtists ¶
func (m RawMetaMusic) GetArtists() (artists []string)
func (RawMetaMusic) GetFormat ¶
func (m RawMetaMusic) GetFormat() string
func (RawMetaMusic) GetTitle ¶
func (m RawMetaMusic) GetTitle() string
Click to show internal directories.
Click to hide internal directories.