Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProxyIp = "127.0.0.1" ProxyDomain = map[string]string{ "music.163.com": "59.111.181.35", "interface.music.163.com": "59.111.181.35", "interface3.music.163.com": "59.111.181.35", "apm.music.163.com": "59.111.181.35", "apm3.music.163.com": "59.111.181.35", } HostDomain = map[string]string{ "music.163.com": "59.111.181.35", "interface.music.163.com": "59.111.181.35", } Source []string Rand = rand.New( rand.NewSource(time.Now().UnixNano())) )
Functions ¶
This section is empty.
Types ¶
type MusicQuality ¶
type MusicQuality int32
const ( Standard MusicQuality = iota Higher ExHigh Lossless )
func (MusicQuality) String ¶
func (m MusicQuality) String() string
type PlatformIdTag ¶
type PlatformIdTag string
const ( StartTag PlatformIdTag = "9000" KuWoTag PlatformIdTag = "90000" MiGuTag PlatformIdTag = "90001" KuGouTag PlatformIdTag = "90002" QQTag PlatformIdTag = "90003" )
type SearchMusic ¶
type SearchMusic struct { Quality MusicQuality Id string }
type SearchOrderBy ¶
type SearchOrderBy int32
const ( MatchedScoreDesc SearchOrderBy = iota PlatformDefault )
type SearchSong ¶
type SearchSong struct { Keyword string Name string ArtistsName string Quality MusicQuality OrderBy SearchOrderBy Limit int ArtistList []string }
Click to show internal directories.
Click to hide internal directories.