Versions in this module Expand all Collapse all v1 v1.1.1 Jun 8, 2020 Changes in this version + const APIDailyRecommendSong + const APIFM + const APIHeartbeatMode + const APILike + const APILoginMail + const APILoginStatus + const APILogout + const APILoveList + const APILyric + const APIMusicURL + const APIMusicURLSingle + const APIPlaySheetDetail + const APIServer + const APISignIn + const APISongDetail + const APIUserDetail + const APIUserPlaySheetList + type Login struct + APIAddr string + Client *network.Client + LoginData []byte + PlaySheets []PlaySheet + UserData User + func NewLogin(client *network.Client) *Login + func (l *Login) DisLike(ID int) bool + func (l *Login) GetAllPlaySheet() + func (l *Login) GetFMSong() []Song + func (l *Login) GetFavSong() []Song + func (l *Login) GetRecommend() []Song + func (l *Login) GetSongDetails(ids ...int) []Song + func (l *Login) GetStatusCode(data []byte) int + func (l *Login) GetUID() int + func (l *Login) GetURLByID(ID int) string + func (l *Login) Like(ID int) bool + func (l *Login) LoginEmail(email, password string) []byte + func (l *Login) Logout() []byte + func (l *Login) ParseLoginData() + type PlaySheet struct + Creator int + CreatorName string + ID int + Name string + Songs []Song + func (p *PlaySheet) LoadDetail(l *Login) + type Profile struct + AvatarURL string + Birthday int + City int + DefaultAvatar bool + Gender int + NickName string + type Song struct + ID int + Name string + URL string + type User struct + CreateTime int + Profile Profile + UID int + UserName string + VipType int